diff options
author | mharo <mharo@FreeBSD.org> | 2000-04-02 01:19:05 +0000 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 2000-04-02 01:19:05 +0000 |
commit | 32890da3f25f105138c57119a5b2df81c6735239 (patch) | |
tree | 7c05d7ea266782646c0e28782b5878ce59bc9a8a /mail | |
parent | d6dca242be4c3ffc4cb11bccc8226000d08b8de0 (diff) | |
download | FreeBSD-ports-32890da3f25f105138c57119a5b2df81c6735239.zip FreeBSD-ports-32890da3f25f105138c57119a5b2df81c6735239.tar.gz |
fix runtime seg fault
PR: 17281
Submitted by: muk@bender.cl.msu.edu
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sigrot/files/patch-ab | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/sigrot/files/patch-ab b/mail/sigrot/files/patch-ab new file mode 100644 index 0000000..e15d986 --- /dev/null +++ b/mail/sigrot/files/patch-ab @@ -0,0 +1,15 @@ +--- sigrot.c.orig Sat Apr 1 17:17:32 2000 ++++ sigrot.c Sat Apr 1 17:18:06 2000 +@@ -167,9 +167,10 @@ + inFile=fopen(Next,"r"); + if (inFile==NULL) + next=1; +- else ++ else { + fscanf(inFile,"%d",&next); +- fclose(inFile); ++ fclose(inFile); ++ } + return next; + } + |