View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-1 / +9 lines)
 Lines 17-22    Link Here 
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
 Lines 52-58   openarc(chg)                 /* open archive */ Link Here 
               if (!(new = fopen(newname, OPEN_W)))
               int fd;
               if ((fd = open(newname, O_CREAT|O_EXCL|O_RDWR, S_IREAD|S_IWRITE)) == -1)
                       arcdie("Cannot create archive copy: %s", newname);
               if (!(new = fdopen(fd, OPEN_W)))