Re: Solaris fopen issue



I brought this up in Nov05 here:
http://mail.gnome.org/archives/gtk-devel-list/2005-November/msg00135.html

And Joseph Kowalski (a SunOS engineer) responded here:
http://mail.gnome.org/archives/gtk-devel-list/2005-November/msg00196.html

I had a friendly chat with him offline. The 64-bit ABI was their chance to right this particular issue.

Andrew Paprocki
Bloomberg LP

> On Wed, 2006-05-10 at 10:58 -0400, Owen Taylor wrote:
> > > The Solaris implementation has a problem with any fopen() which
> > >    opens a file above the 256 file descriptor.
> > 
> > I'm slightly speechless here, though I'm sure there are valid historical
> > compatibility reasons for why Sun can't fix that problem. 
> 
> I was so surprised I did a bit of Googling.  The easy solution to the
> problem is to compile your code in 64-bit mode, as this limitation only
> applies to the 32-bit ABI (from fopen man page):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]