Return to compress.c CVS log | Up to [local] / src / usr.bin / file |
version 1.7, 2003/03/11 21:26:26 | version 1.8, 2003/04/07 21:13:54 | ||
---|---|---|---|
|
|
||
char buf[4096]; | char buf[4096]; | ||
int r, tfd; | int r, tfd; | ||
(void)strcpy(buf, "/tmp/file.XXXXXX"); | (void)strlcpy(buf, "/tmp/file.XXXXXX", sizeof buf); | ||
#ifndef HAVE_MKSTEMP | #ifndef HAVE_MKSTEMP | ||
{ | { | ||
char *ptr = mktemp(buf); | char *ptr = mktemp(buf); |