bug-hurd
[Top][All Lists]
Advanced

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

Re: glibc related porting questions


From: Roland McGrath
Subject: Re: glibc related porting questions
Date: Wed, 8 Aug 2001 21:52:46 -0400 (EDT)

> The same thing came up for Ruby.  There ought to be a stdio_ext.h interface
> for this.
> 
> You can change that code to:

Sorry, typo.  Correct code:


#if defined(__GLIBC__) && defined(_STDIO_USES_IOSTREAM)
   if (f->_IO_read_ptr < f->_IO_read_end)
      RetArg(1);
#elif defined(__GLIBC__)
   if (f->__bufp < f->__get_limit)
      RetArg(1);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]