X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gdm-xdmcp.patch;h=9b3e7b8f80b5412edd723aaaaeeb28694105b230;hb=de273fad3ea0177d8434402a183d5946c7cc01fb;hp=3de7bcbdbeec293d4049f93e0f63f6760ce4248f;hpb=0f18e1802e1a26c116adb63387fe2a7a10eda028;p=packages%2Fgdm.git diff --git a/gdm-xdmcp.patch b/gdm-xdmcp.patch index 3de7bcb..9b3e7b8 100644 --- a/gdm-xdmcp.patch +++ b/gdm-xdmcp.patch @@ -1,11 +1,11 @@ ---- gdm-2.2.1/daemon/server.c.orig Sat May 5 11:05:32 2001 -+++ gdm-2.2.1/daemon/server.c Sat May 5 11:05:46 2001 -@@ -297,7 +297,7 @@ +--- gdm-2.24.0.orig/daemon/gdm-server.c 2008-10-03 00:53:12.000000000 +0200 ++++ gdm-2.24.0/daemon/gdm-server.c 2008-10-03 00:53:57.000000000 +0200 +@@ -419,7 +419,7 @@ + g_debug ("GdmServer: Opening logfile for server %s", log_path); - /* Log all output from spawned programs to a file */ - logfd = open (g_strconcat (GdmLogDir, "/", d->name, ".log", NULL), -- O_CREAT|O_TRUNC|O_APPEND|O_WRONLY, 0666); -+ O_CREAT|O_TRUNC|O_APPEND|O_WRONLY, 0660); + VE_IGNORE_EINTR (g_unlink (log_path)); +- VE_IGNORE_EINTR (logfd = open (log_path, O_CREAT|O_APPEND|O_TRUNC|O_WRONLY|O_EXCL, 0644)); ++ VE_IGNORE_EINTR (logfd = open (log_path, O_CREAT|O_APPEND|O_TRUNC|O_WRONLY|O_EXCL, 0640)); + + g_free (log_path); - if (logfd != -1) { - dup2 (logfd, 1);