diff options
author | krakjoe <joe.watkins@live.co.uk> | 2014-02-02 14:50:43 +0000 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2014-02-02 14:50:43 +0000 |
commit | 202dcc0f6a8821574e93c5c3a54a5f9eab7f5180 (patch) | |
tree | 0f1563d9cfff571b0a01577cad3f1383bb370bba | |
parent | ee42849f8f70b412c58eae83be08c523a2448d47 (diff) | |
parent | 6a6bec44add665fc8330eb03161dc36d278ed40d (diff) | |
download | php-git-202dcc0f6a8821574e93c5c3a54a5f9eab7f5180.tar.gz |
Merge branch 'PHP-5.6'
* PHP-5.6:
woops
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 9341ad35a5..6cb1645e65 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -892,9 +892,11 @@ phpdbg_main: memset(bp_tmp_file, 0, sizeof(bp_tmp_file)); } #endif - + if (!bp_tmp_file) { - phpdbg_error("Unable to create temporary file"); + phpdbg_error( + "Unable to create temporary file"); + return 1; } } ini_entries = NULL; |