]> git.pld-linux.org Git - packages/gdm.git/blobdiff - gdm-xdmcp.patch
- updated to 3.0.0 version; merged from DEVEL
[packages/gdm.git] / gdm-xdmcp.patch
index 3de7bcbdbeec293d4049f93e0f63f6760ce4248f..9b3e7b8f80b5412edd723aaaaeeb28694105b230 100644 (file)
@@ -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);
This page took 0.127038 seconds and 4 git commands to generate.