3 --- src/utils.c.orig 1994-07-25 09:23:16.000000000 -0700
5 @@ -697,8 +697,13 @@ direntry_print (name, statbuf, mode)
7 print_perm((uint32)statbuf.st_mode);
9 +#if (defined(BSD) && BSD >= 199306)
10 + (void) printf(" %-9.9s %7lld %s", owner, statbuf.st_size,
13 (void) printf(" %-9.9s %7d %s", owner, statbuf.st_size,
16 printf(" %s\n", name);
19 @@ -789,13 +794,10 @@ fd_tempfilename_generate()
22 (void) strcpy(tmp, TEMPFILE_TEMPLATE);
23 - if ((char *) mktemp(tmp) == NULL) {
24 - perror("tempfilename_generate: mktemp()");
29 - if ((fd = open(tmp, O_RDWR | O_CREAT, 0600)) < 0) {
30 - perror("tempfilename_generate: open()");
32 + perror("tempfilename_generate: mkstemp()");
35 /* unlink right away to make sure no one can tamper with our file */