-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Larry Jones wrote:
>Derek Robert Price writes:
>
>>Yep, it just needed fflushes. Working patch attached. Comments before
>>I commit?
>
>
>fflush()/close() is a no-no -- you want fclose() instead. Once you've
>attached a stream to a file descriptor, you have to be very careful
>about what you do to the file descriptor -- it's best to only use the
>stream from then on.
Why, if you don't mind me asking? I couldn't find a man page for a file
descriptor flush - is there some way I could have flushed the pipe
without attaching the stream?
Derek
- --
*8^)
Email: [EMAIL PROTECTED]
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQFAKXYPLD1OTBfyMaQRAtqfAKChnuPSxjBtk2SF8Vp0dRZSkD4iGACgmlWc
oQpvy08L35KcaxY3ZUMNpbI=
=554c
-----END PGP SIGNATURE-----
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs