<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - pdfinfo/pdffonts cannot process >2GB files"
href="https://bugs.freedesktop.org/show_bug.cgi?id=44085">bug 44085</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #73688 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - pdfinfo/pdffonts cannot process >2GB files"
href="https://bugs.freedesktop.org/show_bug.cgi?id=44085#c44">Comment # 44</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - pdfinfo/pdffonts cannot process >2GB files"
href="https://bugs.freedesktop.org/show_bug.cgi?id=44085">bug 44085</a>
from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=73705" name="attach_73705" title="using sys/types.h instead of stdio.h for off_t">attachment 73705</a> <a href="attachment.cgi?id=73705&action=edit" title="using sys/types.h instead of stdio.h for off_t">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=44085&attachment=73705'>[review]</a>
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 <a href="http://sourceware.org/bugzilla/show_bug.cgi?id=11125">http://sourceware.org/bugzilla/show_bug.cgi?id=11125</a> 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>