[Fwd: Re: Switch SPARC GNU coreutils+bash from 32 to 64bit [PSARC/2008/351]

Alan Coopersmith Alan.Coopersmith at sun.com
Mon Jun 2 11:46:02 PDT 2008


Nicolas Williams wrote:
> On Mon, Jun 02, 2008 at 11:24:02AM -0700, Alan Coopersmith wrote:
>>>> (Also, IIRC stdio is supposed to handle > 256 file pointers on 64-bit.)
>> Yes, the 256 FILE stdio limit is lifted in 64-bit.   The other main
> 
> Wait a minute.  Our stdio does not support more than 256 open FILEs if
> you use it right 

If you mean "does now", then yes, if you write non-portable code specific
to Solaris, using the interfaces in PSARC 2006/162, then you can get stdio
to open more than 256 FILEs at once.    If you build 64-bit, code
using standard stdio syntax common to all platforms just works without
change to open > 256 FILEs.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering




More information about the opensolaris-arc mailing list