From bb9afb983386a9062665522dbfbc94ad7e8a5353 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Tue, 16 Jan 2024 18:13:32 +0000 Subject: [PATCH] fixmes --- cpdfcommand.ml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 8750a56..7bb37fd 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3311,7 +3311,6 @@ let write_pdf ?(encryption = None) ?(is_decompress=false) mk_id pdf = really_write_pdf ~encryption ~is_decompress mk_id pdf outname end | Stdout -> - (* FIXME Do not use a temp file if not calling cpdflin *) let temp = Filename.temp_file "cpdfstdout" ".pdf" in begin match encryption with None -> @@ -3564,9 +3563,6 @@ let go () = pdfs; begin match pdfs with | [pdf] -> - (* FIXME Here, if the output file is different from the - input file, and we're just extracting pages, might we use a - lazy read? *) if hd ranges <> "all" then let range = parse_pagespec pdf (hd ranges) in let newpdf = Pdfpage.pdf_of_pages ~retain_numbering:args.retain_numbering pdf range in