]> granicus.if.org Git - php/commitdiff
Fail loudly, silence bogus bugs.
authorSara Golemon <pollita@php.net>
Tue, 16 Dec 2003 19:41:26 +0000 (19:41 +0000)
committerSara Golemon <pollita@php.net>
Tue, 16 Dec 2003 19:41:26 +0000 (19:41 +0000)
ext/ftp/ftp.c

index a1c632acde59a414722992c662046e207a2c6500..ff4cac8469bec749ce0eccb85d7b639db3ff1462 100644 (file)
@@ -1615,6 +1615,7 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC)
 
 
        if ((tmpfp = tmpfile()) == NULL) {
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to create temporary file.  Check permissions in temporary files directory.");
                return NULL;
        }