mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -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