]> granicus.if.org Git - php/commit
Strip trailing line breaks and periods from Windows error messages
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 12 Nov 2020 13:58:47 +0000 (14:58 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 12 Nov 2020 15:42:28 +0000 (16:42 +0100)
commita08a2b48b489572db89940027206020ee714afa5
tree7f612cfa39f9ac4d78b22e2ad25f32879b729776
parent34dd032e4e70a33e3e8fa27e38af62f63601b447
Strip trailing line breaks and periods from Windows error messages

PHP error messages should not contain line breaks, so we remove these
from the Windows specific error messages.  We also remove trailing
periods for the same reason.

Closes GH-6423.
19 files changed:
ext/com_dotnet/tests/variants.phpt
ext/com_dotnet/tests/variants_x64.phpt
ext/sockets/tests/socket_clear_error-win32.phpt
ext/sockets/tests/socket_export_stream-4-win.phpt
ext/sockets/tests/socket_import_stream-4-win.phpt
ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt
ext/sockets/tests/socket_shutdown-win32.phpt
ext/sockets/tests/wsaprotocol_info_0.phpt
ext/standard/tests/file/disk_free_space_error-win32.phpt
ext/standard/tests/file/disk_total_space_error-win32.phpt
ext/standard/tests/file/rename_variation-win32.phpt
ext/standard/tests/file/rename_variation11-win32.phpt
ext/standard/tests/file/rename_variation12-win32.phpt
ext/standard/tests/file/rename_variation13-win32.phpt
ext/standard/tests/file/rename_variation3-win32.phpt
ext/standard/tests/file/rename_variation8-win32.phpt
ext/standard/tests/streams/bug49936_win32.phpt
main/main.c
win32/winutil.c