1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

fix runtime seg fault

PR:		17281
Submitted by:	muk@bender.cl.msu.edu
This commit is contained in:
Michael Haro 2000-04-02 01:19:05 +00:00
parent 4aed6f1e65
commit 2f8ccb0e75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27262

View File

@ -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;
}