[BACK]Return to compress.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / file

Diff for /src/usr.bin/file/Attic/compress.c between version 1.7 and 1.8

version 1.7, 2003/03/11 21:26:26 version 1.8, 2003/04/07 21:13:54
Line 161 
Line 161 
         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);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8