FastCGI/fastcgi-2.4.0_missing_call_to_fclose.patch
OBS User autobuild f062bebd6b Accepting request 27556 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/FastCGI based on submit request 27556 from user coolo

OBS-URL: https://build.opensuse.org/request/show/27556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/FastCGI?expand=0&rev=6
2009-12-26 10:35:20 +00:00

13 lines
484 B
Diff

Index: cgi-fcgi/cgi-fcgi.c
===================================================================
--- cgi-fcgi/cgi-fcgi.c.orig 2009-09-17 18:14:16.000000000 +0200
+++ cgi-fcgi/cgi-fcgi.c 2009-09-17 18:19:16.139029013 +0200
@@ -651,6 +651,7 @@ static int ParseArgs(int argc, char *arg
tp1 = tp2;
}
}
+ fclose(fp);
err = ParseArgs(ac, av, doBindPtr, doStartPtr,
connectPathPtr, appPathPtr, nServersPtr, doDaemonPtr);
for(x = 1; x < ac; x++) {