mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-24 15:48:29 +00:00
The kfo-PDF files for testing need to be copied using "binmode" or Windows will introduce \r\n.
qpdf: selecting --keep-open-files=n qpdf: processing 001-kfo.pdf WARNING: 001-kfo.pdf: file is damaged WARNING: 001-kfo.pdf (offset 556): xref not found WARNING: 001-kfo.pdf: Attempting to reconstruct cross-reference table
This commit is contained in:
parent
fc2e491f74
commit
27f18e0f67
@ -1675,6 +1675,7 @@ $n_tests += 4;
|
|||||||
for (my $i = 1; $i <= 201; ++$i)
|
for (my $i = 1; $i <= 201; ++$i)
|
||||||
{
|
{
|
||||||
open(F, sprintf(">%03d-kfo.pdf", $i)) or die;
|
open(F, sprintf(">%03d-kfo.pdf", $i)) or die;
|
||||||
|
binmode F;
|
||||||
print F $content;
|
print F $content;
|
||||||
close(F);
|
close(F);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user