From: Sara Golemon Date: Tue, 16 Dec 2003 19:41:26 +0000 (+0000) Subject: Fail loudly, silence bogus bugs. X-Git-Tag: php-5.0.0b3RC1~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d516184885028d97bc0503f9ecca66dfbf3a204c;p=php Fail loudly, silence bogus bugs. --- diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index a1c632acde..ff4cac8469 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -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; }