summaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-01-16 18:26:08 -0500
committerDaniel Stenberg <daniel@haxx.se>2017-01-23 13:57:54 +0100
commitd0837f36dbe476fd9535fee3f2b0e2599031404d (patch)
tree4a3da5886ec277b9885b3564afc46463113b57a6 /maketgz
parent4c49b83597969418584344eb0df499d150f8680c (diff)
downloadcurl-d0837f36dbe476fd9535fee3f2b0e2599031404d.tar.gz
cmdline-opts/gen.pl: Open input files in CRLF mode
On Windows it's possible to have input files with CRLF line endings and a perl that defaults to LF line endings (eg msysgit). Currently that results in generator output of mixed line endings of CR, LF and CRLF. This change fixes that issue in the most succinct way by opening the files in :crlf text mode even when the perl being used does not default to that mode. (On operating systems that don't have a separate text mode it's essentially a no-op.) The output continues to be in the perl's native line ending.
Diffstat (limited to 'maketgz')
0 files changed, 0 insertions, 0 deletions