Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 257506 | Differences between
and this patch

Collapse All | Expand All

(-)./pilot-link-0.12.3.orig/src/pilot-schlep.c (-1 / +2 lines)
Lines 22-27 Link Here
22
 */
22
 */
23
23
24
#include <stdio.h>
24
#include <stdio.h>
25
#include <sys/types.h>
25
26
26
#include "pi-source.h"
27
#include "pi-source.h"
27
#include "pi-file.h"
28
#include "pi-file.h"
Lines 38-44 Link Here
38
		fd;
39
		fd;
39
	pi_buffer_t *buffer;
40
	pi_buffer_t *buffer;
40
41
41
	fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC);
42
	fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
42
	if (fd < 0)
43
	if (fd < 0)
43
		return -1;
44
		return -1;
44
45

Return to bug 257506