From 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Fri, 21 Jan 2005 15:36:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'. --- .../files/patch-gnome-keyring-daemon.c | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 security/gnome-keyring/files/patch-gnome-keyring-daemon.c (limited to 'security/gnome-keyring/files/patch-gnome-keyring-daemon.c') diff --git a/security/gnome-keyring/files/patch-gnome-keyring-daemon.c b/security/gnome-keyring/files/patch-gnome-keyring-daemon.c deleted file mode 100644 index 293df59b976f..000000000000 --- a/security/gnome-keyring/files/patch-gnome-keyring-daemon.c +++ /dev/null @@ -1,34 +0,0 @@ ---- gnome-keyring-daemon.c.orig Tue Jul 20 22:41:27 2004 -+++ gnome-keyring-daemon.c Tue Jul 20 22:43:03 2004 -@@ -121,7 +121,7 @@ - int i; - - got_random = FALSE; --#ifdef __linux__ -+#if defined(__linux__) || defined(__FreeBSD__) - { - int fd; - -@@ -352,6 +352,22 @@ - app_ref->pathname[len] = 0; - } - -+ } -+#elif defined(__FreeBSD__) -+ { -+ char buffer[1024]; -+ int len; -+ char *path; -+ -+ path = g_strdup_printf ("/proc/%d/file", pid); -+ len = readlink (path, buffer, sizeof (buffer)); -+ g_free (path); -+ -+ if (len > 0) { -+ app_ref->pathname = g_malloc (len + 1); -+ memcpy (app_ref->pathname, buffer, len); -+ app_ref->pathname[len] = 0; -+ } - } - #endif - -- cgit v1.2.3