ls -l segfault + [PATCH]

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Mon Mar 19 12:54:51 UTC 2007


On Mon, Mar 19, 2007 at 01:49:46PM +0100, Jan Evert van Grootheest wrote:
> I found the manual page a bit confusing, because it first says, just above the flags section, that setvbuf may be used on any open stream. While later on, at the end of the first paragraph below the flags section, it is said that it must be done between opening the stream and the first action on it.

The POSIX and C standard say:
The setvbuf() function may be used after the stream pointed to by stream
is associated with an open file but before any other operation (other
than an unsuccessful call to setvbuf()) is performed on the stream.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070319/4e056792/attachment-0002.pgp 


More information about the busybox mailing list