mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 15:05:02 -05:00
parent
47dd957daf
commit
b83947c8df
@ -3753,6 +3753,10 @@ sub singletest {
|
||||
subVariables(\$fileContent);
|
||||
open(OUTFILE, ">$filename");
|
||||
binmode OUTFILE; # for crapage systems, use binary
|
||||
if($fileattr{'nonewline'}) {
|
||||
# cut off the final newline
|
||||
chomp($fileContent);
|
||||
}
|
||||
print OUTFILE $fileContent;
|
||||
close(OUTFILE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user