guidod is currently certified at Journeyer level.

Name: Guido Draheim
Member since: 2003-01-11 13:35:40
Last Login: 2008-04-23 23:15:18

FOAF RDF Share This

Homepage: guido.homelinux.org

Projects

Recent blog entries by guidod

Syndication: RSS 2.0

The freshmeat editorial has been finally published, and some talkback led me to add two new pages to the largefile-problems webpages.

Furthermore, a linuxbase.org submission has been sent, since LBS ships a tool `appchk` to test conformance of binaries including its imports. It would be natural to add a check for largefile-mismatch in there.

However, there was no feedback so far on LSB, and perhaps it would be the only body to be able to drop 64on32 completely. *sigh*

11 Jan 2003 (updated 11 Jan 2003 at 14:10 UTC) »

do not use off_t in headers - largefile sensitivity bugs!

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.

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.

A autoconf'ed lib 'centric treatment of the topic is given in:
http://article.gmane.org/gmane.comp.sysutils.autoconf.general/1893

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.

People should worry and learn about this problem area sooner than later

 

guidod certified others as follows:

  • guidod certified aoliva as Master
  • guidod certified bkorb as Journeyer
  • guidod certified braden as Journeyer
  • guidod certified DV as Master

Others have certified guidod as follows:

  • richdawe certified guidod as Journeyer
  • lerdsuwa certified guidod as Master
  • braden certified guidod as Journeyer
  • pasky certified guidod as Journeyer
  • bonzini certified guidod as Journeyer
  • ebf certified guidod as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page