[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] clean-temp usage question
From: |
Eric Blake |
Subject: |
Re: [bug-gnulib] clean-temp usage question |
Date: |
Sat, 07 Oct 2006 11:36:37 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 10/7/2006 9:06 AM:
>> Is it worth documenting that given a FILE* from fopen_temp, I can do:
>> fd=fileno(fp); close_stream(fp); close_temp(fd);
>> rather than:
>> fclose_temp(fp);
>
> In which situations would it be useful to know this? Few programs hack
> around with fileno and freopen.
OK, with the addition of close_stream_temp, this extra documentation is
not necessary.
Thanks for putting up with my critiques; I think the clean-temp module is
better for it, and CVS m4 is certainly more robust now that it is not
relying on tmpfile.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFJ+Wl84KuGfSFAYARAgz7AJ0cmjPnBLerCGkRHlKXEl2+Ognn5QCgyfjr
9bB83gfKbGo6UEZQFwdeZIk=
=6Hin
-----END PGP SIGNATURE-----
- Re: [bug-gnulib] clean-temp usage question, (continued)
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/05
- Re: [bug-gnulib] clean-temp usage question, Eric Blake, 2006/10/05
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Eric Blake, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Eric Blake, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Paul Eggert, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Eric Blake, 2006/10/06
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/07
- Re: [bug-gnulib] clean-temp usage question,
Eric Blake <=
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/07
- Re: [bug-gnulib] clean-temp usage question, Eric Blake, 2006/10/16
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/17
- Re: [bug-gnulib] clean-temp usage question, Bruno Haible, 2006/10/06
Re: clean-temp usage question, Eric Blake, 2006/10/06