cvs: php4 /sapi/isapi/stresstest stresstest.cpp

From: Date: Mon, 15 Jan 2001 00:57:16 +0000
Subject: cvs: php4 /sapi/isapi/stresstest stresstest.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3625@lists.php.net to get a copy of this message
shane Sun Jan 14 16:57:16 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: check files open Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.5 php4/sapi/isapi/stresstest/stresstest.cpp:1.6 --- php4/sapi/isapi/stresstest/stresstest.cpp:1.5 Sun Jan 14 16:56:23 2001 +++ php4/sapi/isapi/stresstest/stresstest.cpp Sun Jan 14 16:57:16 2001 @@ -218,7 +218,7 @@ char *en = _tempnam(temppath,"exp."); FILE *ft = fopen(tn, "w+"); FILE *fe = fopen(en, "w+"); - if (fp) { + if (fp && ft && fe) { while (fgets(line,sizeof(line)-1,fp)) { if (line[0]=='-') { if (_strnicmp(line, "--TEST--", 8)==0) {

« previous php.cvs (#3625) next »