From af902e9f44c9294bcb6b3fcf79ff027a90a82083 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Thu, 3 Nov 2016 14:47:54 +0000 Subject: [PATCH] Better CountPages --- cpdfcommand.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 2f94d51..bd2918b 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3203,9 +3203,9 @@ let go () = | (AlreadyInMemory pdf, _, _, _, _, _) as input::_ -> pdf, "", input | _ -> raise (Arg.Bad "cpdf: No input specified.\n") in - (* FIXME FIXME. Why do we need this decryption? Endpage_io claims not to... - REMOVE. Seems to work. *) - let pdf = decrypt_if_necessary input (Some CountPages) pdf in + (*let pdf = decrypt_if_necessary input (Some CountPages) pdf in*) + (* 3/11/2016. We removed decryption here, because it doesn't seem necessary. Put + * back in on counterexample *) output_page_count pdf | Some Revisions -> let input =