Copy from Base:System/syslogd based on submit request 25079 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/25079 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syslogd?expand=0&rev=22
21 lines
676 B
Diff
21 lines
676 B
Diff
Index: ksym.c
|
|
===================================================================
|
|
--- ksym.c.orig 2009-11-24 18:12:52.424467000 +0100
|
|
+++ ksym.c 2009-11-24 18:12:52.901406000 +0100
|
|
@@ -345,6 +345,7 @@ static char * FindSymbolFile()
|
|
if ( (sym_file = fopen(symfile, "r")) != (FILE *) 0 ) {
|
|
if (CheckMapVersion(symfile) == 1)
|
|
file = symfile;
|
|
+ fclose(sym_file);
|
|
}
|
|
if (sym_file == (FILE *) 0 || file == (char *) 0) {
|
|
sprintf (symfile, "%s", *mf);
|
|
@@ -353,6 +354,7 @@ static char * FindSymbolFile()
|
|
if ( (sym_file = fopen(symfile, "r")) != (FILE *) 0 ) {
|
|
if (CheckMapVersion(symfile) == 1)
|
|
file = symfile;
|
|
+ fclose(sym_file);
|
|
}
|
|
}
|
|
|