diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-02-06 20:43:17 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-02-06 20:43:17 +0100 |
commit | b0273e749ca09b6c89dc44e5f33ed6ac788f7a40 (patch) | |
tree | e52743fca5309df5e9dff34d682b6c6e22466217 /phpdbg.c | |
parent | 891477dc1c3ae795708c022e3e023c5a7b7e0128 (diff) | |
download | php-git-b0273e749ca09b6c89dc44e5f33ed6ac788f7a40.tar.gz |
Fix issue 68 (made check win only)
Diffstat (limited to 'phpdbg.c')
-rw-r--r-- | phpdbg.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -887,17 +887,17 @@ phpdbg_main: bp_tmp_file = NULL; } } + + if (!bp_tmp_file) { + phpdbg_error("Unable to create temporary file"); + return 1; + } #else if (!mkstemp(bp_tmp_file)) { memset(bp_tmp_file, 0, sizeof(bp_tmp_file)); } #endif - if (!bp_tmp_file) { - phpdbg_error( - "Unable to create temporary file"); - return 1; - } } ini_entries = NULL; ini_entries_len = 0; |