[Poppler-bugs] [Bug 44085] pdfinfo/pdffonts cannot process >2GB files
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jan 26 17:11:10 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=44085
Adrian Johnson <ajohnson at redneon.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #73688|0 |1
is obsolete| |
--- Comment #44 from Adrian Johnson <ajohnson at redneon.com> ---
Created attachment 73705
--> https://bugs.freedesktop.org/attachment.cgi?id=73705&action=edit
using sys/types.h instead of stdio.h for off_t
I checked the POSIX specs at opengroup.org.
In the Single UNIX Specification version 2 (UNIX98), off_t is defined in
sys/types.h.
In the Single UNIX Specification version 4 (POSIX:2008), stdio.h is also
required to expose off_t.
Glibc bug http://sourceware.org/bugzilla/show_bug.cgi?id=11125 added off_t to
stdio.h. This fix was included in glibc 2.12 released in 2010.
As there are likely to be many systems not fully compliant with POSIX:2008,
using sys/types.h to import the off_t definition would be the most portable
solution. The attached patch switches from stdio.h to sys/types.h.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130127/a5564672/attachment.html>
More information about the Poppler-bugs
mailing list