Paul Eggert <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> +#define TMP (char *) "/tmp" >> ... > > How about the following change to mktemp.c instead? It's simpler, and > avoids the need for the macro and the cast. > > 2008-10-16 Paul Eggert <[EMAIL PROTECTED]> > > * src/mktemp.c (main): Add 'const' twice to avoid GCC warning.
Ahh... much better. no-casts is always better. Thanks! I've just pushed that. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
