diff options
| author | Shane Caraveo <shane@php.net> | 2001-01-15 00:57:16 +0000 |
|---|---|---|
| committer | Shane Caraveo <shane@php.net> | 2001-01-15 00:57:16 +0000 |
| commit | c88be3f8b346e1f72c6a991d17253bfaccd5a874 (patch) | |
| tree | e74f23f1821fdb2f62e346e40f89d7cd8cbc6577 /sapi/isapi | |
| parent | 833ba1266437e4a83ceb052ad87e1077d91a6eb5 (diff) | |
| download | php-git-c88be3f8b346e1f72c6a991d17253bfaccd5a874.tar.gz | |
check files open
Diffstat (limited to 'sapi/isapi')
| -rw-r--r-- | sapi/isapi/stresstest/stresstest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/isapi/stresstest/stresstest.cpp b/sapi/isapi/stresstest/stresstest.cpp index d43bc5ef57..2b5e5b8380 100644 --- a/sapi/isapi/stresstest/stresstest.cpp +++ b/sapi/isapi/stresstest/stresstest.cpp @@ -218,7 +218,7 @@ BOOL ParseTestFile(const char *path, const char *fn) 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) { |
