summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2006-12-04 17:33:35 +0000
committerDoug Goldstein <cardoe@gentoo.org>2006-12-04 17:33:35 +0000
commit9b1b9023a140657d7568687686e80a2b6fd51190 (patch)
tree6f038074bc1ba9c3f9ab9e6db4b746cc96866a78 /sys-apps/dbus/files
parentRedigested, reported by eroyf. (diff)
downloadgentoo-2-9b1b9023a140657d7568687686e80a2b6fd51190.tar.gz
gentoo-2-9b1b9023a140657d7568687686e80a2b6fd51190.tar.bz2
gentoo-2-9b1b9023a140657d7568687686e80a2b6fd51190.zip
Fix dnotify on file creation
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'sys-apps/dbus/files')
-rw-r--r--sys-apps/dbus/files/dbus-1.0.1-fixfilecreation.patch11
-rw-r--r--sys-apps/dbus/files/digest-dbus-1.0.1-r23
2 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/dbus/files/dbus-1.0.1-fixfilecreation.patch b/sys-apps/dbus/files/dbus-1.0.1-fixfilecreation.patch
new file mode 100644
index 000000000000..0dabf2cc68cd
--- /dev/null
+++ b/sys-apps/dbus/files/dbus-1.0.1-fixfilecreation.patch
@@ -0,0 +1,11 @@
+--- dbus-1.0.0/bus/dir-watch-dnotify.c.fixfilecreation 2006-11-22 14:24:01.000000000 +0100
++++ dbus-1.0.0/bus/dir-watch-dnotify.c 2006-11-22 14:26:06.000000000 +0100
+@@ -57,7 +57,7 @@
+ goto out;
+ }
+
+- if (fcntl (fd, F_NOTIFY, DN_DELETE|DN_RENAME|DN_MODIFY) == -1)
++ if (fcntl (fd, F_NOTIFY, DN_CREATE|DN_DELETE|DN_RENAME|DN_MODIFY) == -1)
+ {
+ _dbus_warn ("Cannot setup D_NOTIFY for '%s' error '%s'\n", dir, _dbus_strerror (errno));
+ close (fd);
diff --git a/sys-apps/dbus/files/digest-dbus-1.0.1-r2 b/sys-apps/dbus/files/digest-dbus-1.0.1-r2
new file mode 100644
index 000000000000..7660510d0186
--- /dev/null
+++ b/sys-apps/dbus/files/digest-dbus-1.0.1-r2
@@ -0,0 +1,3 @@
+MD5 52c70d18fe0b398f5de3b8a18a589960 dbus-1.0.1.tar.gz 1406595
+RMD160 2270f27d9314f0e7b99540f0aa1902b8d0d7343d dbus-1.0.1.tar.gz 1406595
+SHA256 6e0730a39485fb502d640841f0f328c1a0212743f17b3fa61c78e6e32925f061 dbus-1.0.1.tar.gz 1406595