Dirk Mueller
2144a0b3f4
Copy from home:jengelh:branches:Base:System/syslogd via accept of submit request 28151 revision 3. Request was accepted with message: thanks! OBS-URL: https://build.opensuse.org/request/show/28151 OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=12
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);
|
|
}
|
|
}
|
|
|