Created attachment 24176 [details] [review] 0001-removes-case-insensitive-matching-of-filenames This patch gets rid of what I think many would consider undesirable behaviour allowing, to some extent, case-insensitive matching of the file name passed to the PDFDoc constructor. It used to try opening, for example, "fileName.Pdf", then failing that try opening "filename.pdf", then failing that try opening "FILENAME.PDF". This attempt at matching the case doesn't make sense in a case-sensitive file system and it is certainly not what developers using the library would expect to see happen, since nowhere in at least poppler-glib's documentation does it suggest poppler_new_document_from_file() would do this with the file name.
Agree, I see no reasons to do it. I didn't even know we were doing so.
Commited with the change of storing errno just after the if, not after some more function calls that might change errno value
I just pulled the new master HEAD from the repository. I agree with you about your change, Albert.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.