opensubscriber
   Find in this group all groups
 
Unknown more information…

n : nmh-workers@nongnu.org 7 June 2012 • 8:30AM -0400

Re: [Nmh-workers] scan -width behaves oddly in 1.5RC3
by Ken Hornstein

REPLY TO AUTHOR
 
REPLY TO GROUP




>[ some experimenting later ... ]  What it appears to be doing is filling
>the buffer to the specified length and then returning -1 anyway.  Given
>your argument that there is no reason for it to fail, I suppose the
>quickest hack is to assume that -1 means the same as "buffer filled".

Be careful, my point wasn't that it wasn't supposed to fail, my point
was that returning -1 means "error".  I don't see how we can portably
assume -1 means "buffer filled".

I think I'm with Paul Vixie on this one; it's not unreasonable in this
day and age to require a POSIX C library.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nong...
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.