SOURCES: udftools-open.patch (NEW) - fix open mode
arekm
arekm at pld-linux.org
Tue Feb 24 08:28:38 CET 2009
Author: arekm Date: Tue Feb 24 07:28:38 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix open mode
---- Files affected:
SOURCES:
udftools-open.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/udftools-open.patch
diff -u /dev/null SOURCES/udftools-open.patch:1.1
--- /dev/null Tue Feb 24 08:28:39 2009
+++ SOURCES/udftools-open.patch Tue Feb 24 08:28:32 2009
@@ -0,0 +1,12 @@
+diff -Nur /var/tmp/portage/sys-fs/udftools-1.0.0b-r7/work/udftools-1.0.0b3/pktsetup/pktsetup.c /root/hardened/udftools-1.0.0b3/pktsetup/pktsetup.c
+--- pktsetup/pktsetup.c 2008-06-19 00:27:08.000000000 +0200
++++ pktsetup/pktsetup.c 2008-06-19 00:20:31.000000000 +0200
+@@ -85,7 +85,7 @@
+ {
+ int pkt_fd, dev_fd, cmd;
+
+- if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT)) == -1) {
++ if ((pkt_fd = open(pkt_device, O_RDONLY)) == -1) {
+ perror("open packet device");
+ return;
+ }
================================================================
More information about the pld-cvs-commit
mailing list