-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 3 Jan 2002, Jarno Huuskonen wrote: > > if ((tmp = fdopen (fd, "r+b")) == NULL) > > Are you going to write to to temp file (you open the file as readonly) ? Actually, "r+" is the mode. And it means read+write access, without truncating existing file. From the fdopen man page: r+ Open for reading and writing. The stream is posi tioned at the beginning of the file. Bye Arturo "Buanzo" Busleiman - -=( RareGaZz-Team Member )=- GNU/Linux USERS, MP Ediciones GNU's es_AR Translation Team Leader Moderador de Seguridadat_private Turcin Soluciones Informaticas http://www.turcin.com.ar http://www.buanzo.com.ar PGP/GnuPG Public Key available at horowitz.surfnet.nl -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8NP6p+kypiSoPpFoRAthhAJ9jtrK/UpyAooNKO0p5jVtze8IkZACeJ6q0 pGxIh4CcAGqKgHLyhx9moP8= =RATN -----END PGP SIGNATURE-----
This archive was generated by hypermail 2b30 : Fri Jan 04 2002 - 10:52:35 PST