projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da60fbb
)
genksyms: close ref_file after use
author
Alexander Beregalov
<a.beregalov@gmail.com>
Thu, 7 Jan 2010 02:22:41 +0000
(
05:22
+0300)
committer
Michal Marek
<mmarek@suse.cz>
Tue, 2 Feb 2010 13:33:55 +0000
(14:33 +0100)
It is the last place when the file is read, so close it.
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/genksyms/genksyms.c
patch
|
blob
|
blame
|
history
diff --git
a/scripts/genksyms/genksyms.c
b/scripts/genksyms/genksyms.c
index af6b8363a2d51ffd1a0d2b61f40f10927e78cbce..f99115ebe9254a4ef630eabe127bc7cf25e2195c 100644
(file)
--- a/
scripts/genksyms/genksyms.c
+++ b/
scripts/genksyms/genksyms.c
@@
-758,8
+758,10
@@
int main(int argc, char **argv)
/* setlinebuf(debugfile); */
}
- if (flag_reference)
+ if (flag_reference)
{
read_reference(ref_file);
+ fclose(ref_file);
+ }
yyparse();