diff --git a/NEWS b/NEWS index aa950bd5c16..a7cf2ebd6f4 100644 --- a/NEWS +++ b/NEWS @@ -59,6 +59,9 @@ PHP NEWS . Fixed bug GH-15833 (Segmentation fault (access null pointer) in ext/spl/spl_array.c). (nielsdos) +- Windows: + . Fixed clang compiler detection. (cmb) + - Zip: . Fixed bug GH-17139 (Fix zip_entry_name() crash on invalid entry). (nielsdos) diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 1a4ddbffaa9..add581aa640 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -3125,7 +3125,7 @@ function toolset_get_compiler_name(short) var command = 'cmd /c ""' + PHP_CL + '" -v"'; var full = execute(command + '" 2>&1"'); - ERROR(full.split(/\n/)[0].replace(/\s/g, ' ')); + return full.split(/\n/)[0].replace(/\s/g, ' '); } WARNING("Unsupported toolset");