Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 107312
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +10 lines)
Line  Link Here
0
-- arcsvc.c~   2005-03-13 16:48:09.000000000 +0100
0
++ arcsvc.c    2005-09-17 09:41:51.000000000 +0200
Lines 17-22 Link Here
17
#include <sys/types.h>
18
#include <sys/stat.h>
19
#include <fcntl.h>
Lines 52-58 openarc(chg)                 /* open archive */ Link Here
52
               if (!(new = fopen(newname, OPEN_W)))
55
               int fd;
56
57
               if ((fd = open(newname, O_CREAT|O_EXCL|O_RDWR, S_IREAD|S_IWRITE)) == -1)
58
                       arcdie("Cannot create archive copy: %s", newname);
59
60
               if (!(new = fdopen(fd, OPEN_W)))

Return to bug 107312