Re: Tinderbox tyrant (wv issues)


Subject: Re: Tinderbox tyrant (wv issues)
From: sam th (sam@uchicago.edu)
Date: Sun Oct 15 2000 - 13:23:41 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 15 Oct 2000, Mike Nordell wrote:

> Thomas Fletcher wrote:
> > On Fri, 13 Oct 2000, Mike Nordell wrote:
> ["fd", tmpnam and portability snipped]
> >
> > Well whatever ... read/write/open are standard C file operations
>
> "standard C file operations"? Really? ;->
>
> Last time I checked open/read/write were not ANSI C, and I would be really,
> *really*, surprised if ANSI C 9x made it part of the library. That is the
> *only* "standard" I know about when discussing C. And even if they did vote
> these in it wouldn't affect the incorrectness of the code discussed. C++
> does not derive from C9x.

Well, FWIW, the man pages on my system say that read, etc, are part of
POSIX, but not ANSI.

Also, these same manpages reccomend the use of tmpfile() instead of either
mkstemp() or tmpnam(). Tom, can you tell us what's available on your
system?

           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE56fYvt+kM0Mq9M/wRAmzEAKC7Ji5g9s31zP3yIymQohVGm4b+OACeM7tt
QWXrX11HToV3lDGpvOdT4j8=
=CuRr
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Sun Oct 15 2000 - 13:21:41 CDT