Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 3aa284564e71f3bab88819bda8fca6e2 > files > 3

pentaxpj-1.0.0-7mdv2009.1.src.rpm

--- pentaxpj.c	2003-02-05 05:19:04.000000000 +0100
+++ pentaxpj.c.oden	2008-07-04 16:04:02.000000000 +0200
@@ -660,7 +660,7 @@ main(int argc, char *argv[]) {
 		lpheight = tmpheight;
 	}
 	if (opto!=NULL) {
-		lp = open(opto,O_WRONLY | O_TRUNC | O_CREAT);
+		lp = open(opto,O_WRONLY | O_TRUNC | O_CREAT, 0666);
 	}
 	else {
 		if (lpdevice != NULL) {