summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-21 23:36:49 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-21 23:36:49 +0000
commitde030af3419d6a4e465a5bde7cc2bada20a15fe8 (patch)
treed5ce9170e8319d84cf60c4616bee9539ffc4af85 /win32/perlhost.h
parentfa4e59440d916506469cd46950fc1c928f614950 (diff)
downloadperl-de030af3419d6a4e465a5bde7cc2bada20a15fe8.tar.gz
s/isspace/isSPACE/g and make sure the CRT version is always
passed an unsigned char (fixes random occurrence of spaces in arguments containing high-bit chars passed to spawned children, on win32) p4raw-id: //depot/perl@3445
Diffstat (limited to 'win32/perlhost.h')
-rw-r--r--win32/perlhost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h
index e52ba6d419..a645328325 100644
--- a/win32/perlhost.h
+++ b/win32/perlhost.h
@@ -585,7 +585,7 @@ public:
|FORMAT_MESSAGE_FROM_SYSTEM, NULL,
dwErr, 0, (char *)&sMsg, 1, NULL);
if (0 < dwLen) {
- while (0 < dwLen && isspace(sMsg[--dwLen]))
+ while (0 < dwLen && isSPACE(sMsg[--dwLen]))
;
if ('.' != sMsg[dwLen])
dwLen++;