<?xml version="1.0"?>
<rss version="2.0.">
  <channel>
    <title>Advogato blog for guidod</title>
    <link>http://www.advogato.org/person/guidod/</link>
    <description>Advogato blog for guidod</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Sat, 5 Jul 2008 11:58:33 GMT</pubDate>
    <item>
      <pubDate>Mon, 27 Jan 2003 20:42:11 GMT</pubDate>
      <title>27 Jan 2003</title>
      <link>http://www.advogato.org/person/guidod/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/guidod/diary.html?start=1</guid>
      <description>&lt;p&gt;
The  &lt;a href="http://freshmeat.net/articles/view/709/" &gt;
freshmeat editorial&lt;/a&gt; has been finally published, and some talkback led me to add two new pages to the &lt;a href="http://ac-archive.sf.net/largefile" &gt;largefile-problems&lt;/a&gt;
webpages.
&lt;p&gt;
Furthermore, a  &lt;a href="http://freestandards.org/pipermail/lsb-test/2003-January/thread.html" &gt;
  linuxbase.org submission&lt;/a&gt; has been sent, since 
 &lt;a href="http://linuxbase.org" &gt;LBS&lt;/a&gt; ships a tool 
  &lt;a href="http://www.linuxbase.org/test/appchk.html" &gt;`appchk`&lt;/a&gt;
  to test conformance of binaries including its imports. It would be 
  natural to add a check for largefile-mismatch in there.
&lt;p&gt;
 However, there was no feedback so far on LSB, and perhaps it would be the only body to be able to drop 64on32 completely. &lt;i&gt;*sigh*&lt;/i&gt;

</description>
    </item>
    <item>
      <pubDate>Sat, 11 Jan 2003 14:05:12 GMT</pubDate>
      <title>11 Jan 2003</title>
      <link>http://www.advogato.org/person/guidod/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/guidod/diary.html?start=0</guid>
      <description>&lt;p&gt;&lt;b&gt;do not use off_t in headers - largefile sensitivity bugs!&lt;/b&gt;

&lt;p&gt;
Through a discussion on alt.os.linux.mandrake, I had to notice that every library has a risk of being broken when using the system off_t type in its exported interfaces, including structures and function synopsis.
&lt;p&gt;
The point comes from the fact that systems like linux and
solaris are "largefile sensitive" - a -D_LARGEFILE_SOURCE
will shift the "off_t" type from being a 32bit entity into
a 64bit entity. This will make for a nice and pretty
callframe mismatch.
&lt;p&gt;
A autoconf'ed lib 'centric treatment of the topic is given in:&lt;br&gt;
&lt;a href="http://article.gmane.org/gmane.comp.sysutils.autoconf.general/1893" &gt;
http://article.gmane.org/gmane.comp.sysutils.autoconf.general/1893
&lt;/a&gt;
&lt;p&gt;
Grepping a bit through files on my system, I did notice that even zlib/gzip is affected (and only by luck it is not triggered) and kdelib header files (in kio) has off_t as well. Bug reports were filed to the respective projects.

&lt;p&gt; &lt;p&gt;
People &lt;em&gt;should&lt;/em&gt; worry and learn about this problem area sooner than later


</description>
    </item>
  </channel>
</rss>
