From 32890da3f25f105138c57119a5b2df81c6735239 Mon Sep 17 00:00:00 2001 From: mharo Date: Sun, 2 Apr 2000 01:19:05 +0000 Subject: fix runtime seg fault PR: 17281 Submitted by: muk@bender.cl.msu.edu --- mail/sigrot/files/patch-ab | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mail/sigrot/files/patch-ab (limited to 'mail/sigrot') 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; + } + -- cgit