diff options
author | Michael Haro <mharo@FreeBSD.org> | 2000-04-02 01:19:05 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2000-04-02 01:19:05 +0000 |
commit | 2f8ccb0e750d13c6f727306ab5e503c829e8080e (patch) | |
tree | e05eb86966fe7461d6f47d85272619cc55ae891c /mail/sigrot | |
parent | 4aed6f1e6536c2d3be11d0ac7596e10b27791cb5 (diff) | |
download | ports-2f8ccb0e750d13c6f727306ab5e503c829e8080e.tar.gz ports-2f8ccb0e750d13c6f727306ab5e503c829e8080e.zip |
fix runtime seg fault
PR: 17281
Submitted by: muk@bender.cl.msu.edu
Notes
Notes:
svn path=/head/; revision=27262
Diffstat (limited to 'mail/sigrot')
-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 000000000000..e15d986364d0 --- /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; + } + |