rpms/dhcdbd/devel dhcdbd-2.8-open-mode.patch,1.1,1.2
David Cantrell (dcantrel)
fedora-extras-commits at redhat.com
Wed Aug 8 23:00:20 UTC 2007
Author: dcantrel
Update of /cvs/pkgs/rpms/dhcdbd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6177
Modified Files:
dhcdbd-2.8-open-mode.patch
Log Message:
* Wed Aug 08 2007 David Cantrell <dcantrell at redhat.com> - 2.8-3
- Update License tag to GPLv2
- Change dbus_watch_get_fd() calls to dbus_watch_get_unix_fd() calls
- Pass a mode to the open(2) call
dhcdbd-2.8-open-mode.patch:
Index: dhcdbd-2.8-open-mode.patch
===================================================================
RCS file: /cvs/pkgs/rpms/dhcdbd/devel/dhcdbd-2.8-open-mode.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dhcdbd-2.8-open-mode.patch 8 Aug 2007 22:52:56 -0000 1.1
+++ dhcdbd-2.8-open-mode.patch 8 Aug 2007 23:00:16 -0000 1.2
@@ -1,12 +1,12 @@
diff -up dhcdbd-2.8/src/dhcdbd.c.mode dhcdbd-2.8/src/dhcdbd.c
--- dhcdbd-2.8/src/dhcdbd.c.mode 2006-08-25 15:45:05.000000000 -0400
-+++ dhcdbd-2.8/src/dhcdbd.c 2007-08-08 18:51:12.000000000 -0400
++++ dhcdbd-2.8/src/dhcdbd.c 2007-08-08 18:59:51.000000000 -0400
@@ -2830,7 +2830,7 @@ dhcdbd_run (D_BUS_TYPE bus)
return (1);
}
unlink (DHCDBD_PID_FILE);
- if ((fd = open (DHCDBD_PID_FILE, O_WRONLY | O_CREAT)) == -1)
-+ if ((fd = open (DHCDBD_PID_FILE, O_WRONLY | O_CREAT), 0644) == -1)
++ if ((fd = open (DHCDBD_PID_FILE, O_WRONLY | O_CREAT, 0644)) == -1)
exit (errno);
l = sprintf (path, "%u", getpid ());
l = write (fd, path, l);
More information about the fedora-extras-commits
mailing list