Package: evolver / 2.70+ds-8

upstream-bug-source-double_fclose.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: source (serious) bug fix
 Discard a fclose call certainly forgotten during coding but
 which causes a segfault when the online help is used; meant
 to be submitted to the upstream maintainer.
Origin: debian
Forwarded: by email
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2016-07-11

--- a/src/help.c
+++ b/src/help.c
@@ -518,8 +518,7 @@
       relcount++;
     }
   }
-  fclose(fd);
-  if ( !found ) 
+  if ( !found )
   { sprintf(msg,"Cannot find help entry for \"%s\". \n", keyword);
     outstring(msg);
   }