delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/06/12/09:45:13

From: "Mark E." <snowball3 AT softhome DOT net>
To: djgpp-workers AT delorie DOT com
Date: Thu, 12 Jun 2003 09:44:56 -0400
MIME-Version: 1.0
Subject: Re: Binutils bug causes GCC bootstrap comparision failures
Message-ID: <3EE84B98.2290.601FC@localhost>
In-reply-to: <200306120941.55611.pavenis@latnet.lv>
References: <200306111639 DOT h5BGdxrf027585 AT envy DOT delorie DOT com>
X-mailer: Pegasus Mail for Windows (v4.11)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > It would be better in the long run if we could fix (er, hack) fseek
> > itself in libc.  I did that for cygwin, so I can explain the logic if
> > someone wants to volunteer.

You mean like this? (from write.c)
  if (__has_fd_properties(handle)
      && (__fd_properties[handle]->flags & FILE_DESC_ZERO_FILL_EOF_GAP))
  {
    if (_write_fill_seek_gap(handle) < 0)
      return -1;
  }
  

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019