/[gentoo-x86]/sys-fs/udftools/files/udftools-1.0.0b-openflags.patch
Gentoo

Contents of /sys-fs/udftools/files/udftools-1.0.0b-openflags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Dec 22 16:27:57 2011 UTC (3 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -2 lines
Depend on readline since we use it #395623 by Maxim Kammerer.  Clean up ebuild/patches while we are here.

(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)

1 From: Magnus Granberg <zorry@ume.nu>
2 https://bugs.gentoo.org/232100
3 Remove nonsense O_CREAT flag
4
5 --- pktsetup/pktsetup.c 2008-06-19 00:27:08.000000000 +0200
6 +++ pktsetup/pktsetup.c 2008-06-19 00:20:31.000000000 +0200
7 @@ -85,7 +85,7 @@
8 {
9 int pkt_fd, dev_fd, cmd;
10
11 - if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT)) == -1) {
12 + if ((pkt_fd = open(pkt_device, O_RDONLY)) == -1) {
13 perror("open packet device");
14 return;
15 }

  ViewVC Help
Powered by ViewVC 1.1.20