mirror of
https://github.com/curl/curl.git
synced 2026-06-02 03:34:15 +03:00
parent
47dd957daf
commit
b83947c8df
1 changed files with 4 additions and 0 deletions
|
|
@ -3753,6 +3753,10 @@ sub singletest {
|
||||||
subVariables(\$fileContent);
|
subVariables(\$fileContent);
|
||||||
open(OUTFILE, ">$filename");
|
open(OUTFILE, ">$filename");
|
||||||
binmode OUTFILE; # for crapage systems, use binary
|
binmode OUTFILE; # for crapage systems, use binary
|
||||||
|
if($fileattr{'nonewline'}) {
|
||||||
|
# cut off the final newline
|
||||||
|
chomp($fileContent);
|
||||||
|
}
|
||||||
print OUTFILE $fileContent;
|
print OUTFILE $fileContent;
|
||||||
close(OUTFILE);
|
close(OUTFILE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue