[m-dev.] For review: io.m
Fergus Henderson
fjh at cs.mu.oz.au
Thu May 29 17:29:28 AEST 1997
Thomas Charles CONWAY, you wrote:
>
> Can someone please review this small change to io.m?
> library/io.m:
> add io__tmpnam(Dir, Prefix, Name, IO0, IO) which interfaces to
> tempnam. Fix the implementation of io__tmpnam/3 so that it
> respects the TMPDIR environment variable. (The stdio implementation
> on linux DIDN'T)
This change is fine, except for one thing: it relies on tempnam(),
and that is not an ANSI C function. (tmpnam() is ANSI, tempnam() is not.)
Hence, before committing this you should add a check for tempnam()
in configure.in & runtime/conf.h.in, and do something appropriate
if the system doesn't have tempnam().
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list