diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-19 09:26:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-19 09:26:29 +0000 |
commit | b125e8e23a0212dba4cc3c19a2b744c2241b74e1 (patch) | |
tree | e4306e94720d5a2a77d82006335c7cff504d1ac0 /tests/getpart.pm | |
parent | b28b616eb2ed16cddb7361a3924b1dbf795fc3a8 (diff) | |
download | curl-b125e8e23a0212dba4cc3c19a2b744c2241b74e1.tar.gz |
set binary mode for some file handling and it might work better on some
cygwin installations (using DOS-style files somehow?)
Diffstat (limited to 'tests/getpart.pm')
-rw-r--r-- | tests/getpart.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/getpart.pm b/tests/getpart.pm index 7449be983..79287524e 100644 --- a/tests/getpart.pm +++ b/tests/getpart.pm @@ -95,6 +95,7 @@ sub loadtest { undef @xml; open(XML, "<$file") || return 1; # failure! + binmode XML; # for crapage systems, use binary while(<XML>) { push @xml, $_; } |