From c79bf14158349abf4c842cd5344ed9a938927480 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Mon, 27 Sep 2021 16:49:00 +0100 Subject: [PATCH 1/2] Fix Ocaml 4.13 warning --- cpdfcommand.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 45dd5c2..fc75c41 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3899,9 +3899,9 @@ let go () = in args.create_objstm <- args.preserve_objstm; split_pdf - enc args.original_filename args.chunksize args.linearize args.cpdflin - args.preserve_objstm args.preserve_objstm (*yes--always create if preserving *) - args.squeeze nobble output_spec pdf + enc args.original_filename args.chunksize args.linearize ~cpdflin:args.cpdflin + ~preserve_objstm:args.preserve_objstm ~create_objstm:args.preserve_objstm (*yes--always create if preserving *) + ~squeeze:args.squeeze nobble output_spec pdf | _, Stdout -> error "Can't split to standard output" | _, NoOutputSpecified -> error "Split: No output format specified" | _ -> error "Split: bad parameters" @@ -3929,7 +3929,7 @@ let go () = in args.create_objstm <- args.preserve_objstm; split_at_bookmarks - enc args.original_filename args.squeeze nobble level output_spec pdf + enc args.original_filename ~squeeze:args.squeeze nobble level output_spec pdf | Stdout -> error "Can't split to standard output" | NoOutputSpecified -> error "Split: No output format specified" end From d06011c7ca83982e64c68a82f87999b95fa39a3d Mon Sep 17 00:00:00 2001 From: John Whitington Date: Mon, 27 Sep 2021 18:41:35 +0100 Subject: [PATCH 2/2] more --- Changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Changes b/Changes index 3711fd1..98f95b9 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,4 @@ -2.5 (Upcoming) +2.5 (Upcoming 2022) o Environment variable CPDF_REPRODUCIBLE_DATES for testing o Environment variable CPDF_DEBUG for -debug