*BSD News Article 84329


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!spring.edu.tw!news-peer.gsl.net!news.gsl.net!swrinde!ihnp4.ucsd.edu!info.ucla.edu!news.cs.ucla.edu!twinsun!not-for-mail
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: comp.unix.solaris,comp.unix.bsd.misc,comp.unix.internals
Subject: Re: Solaris 2.6
Date: 5 Dec 1996 18:31:44 -0800
Organization: Twin Sun Inc, El Segundo, CA, USA
Lines: 12
Distribution: inet
Message-ID: <5880ig$1a5$1@shade.twinsun.com>
References: <32986299.AC7@mail.esrin.esa.it> <580sgh$kpi@panix2.panix.com> <casper.32a40b7b@mail.fwi.uva.nl> <587jrv$9rf@news.parc.xerox.com> <587meg$h67@web.nmti.com>
NNTP-Posting-Host: 192.54.239.27
Xref: euryale.cc.adfa.oz.au comp.unix.solaris:91526 comp.unix.bsd.misc:1683 comp.unix.internals:11468

peter@nmti.com (Peter da Silva) writes:

> The Sun approach requires a #define to indicate you want to use the *new*
> versions of the header files to link with 64-bit libraries.

Is this really true?  (Sorry, I haven't been following this debate.)

I don't want to add something like `#define _LARGEFILE64_SOURCE'
to each module that wants to work correctly with large Solaris files.
Nor do I want to change lseek/off_t to llseek/offset_t.
That sort of thing would be a porting nightmare.
Surely Sun isn't planning anything as braindamaged as that.