]> git.pld-linux.org Git - packages/gdm2.20.git/blobdiff - gdm-xdmcp.patch
- renamed to gdm2.20
[packages/gdm2.20.git] / gdm-xdmcp.patch
index de93dcdb776968b32d6a5f66d564e647f7a0f65e..06ed096a19dbab195e4397c632b149b872822d08 100644 (file)
@@ -1,11 +1,12 @@
---- gdm-2.2.3/daemon/server.c.orig     Fri Jun 29 11:30:30 2001
-+++ gdm-2.2.3/daemon/server.c  Tue Jul  3 23:17:09 2001
-@@ -388,7 +388,7 @@
+diff -aurN gdm-2.13.0.7.orig/daemon/server.c gdm-2.13.0.7/daemon/server.c
+--- gdm-2.13.0.7.orig/daemon/server.c  2006-01-19 00:32:50.000000000 +0100
++++ gdm-2.13.0.7/daemon/server.c       2006-02-05 17:12:06.557522000 +0100
+@@ -1150,7 +1150,7 @@
          /* Log all output from spawned programs to a file */
-       logfd = open (g_strconcat (GdmLogDir, "/", d->name, ".log", NULL),
--                    O_CREAT|O_TRUNC|O_WRONLY, 0644);
-+                    O_CREAT|O_TRUNC|O_WRONLY, 0640);
+       logfile = gdm_make_filename (gdm_get_value_string (GDM_KEY_LOG_DIR), d->name, ".log");
+       VE_IGNORE_EINTR (g_unlink (logfile));
+-      VE_IGNORE_EINTR (logfd = open (logfile, O_CREAT|O_TRUNC|O_WRONLY|O_EXCL, 0644));
++      VE_IGNORE_EINTR (logfd = open (logfile, O_CREAT|O_TRUNC|O_WRONLY|O_EXCL, 0640));
  
        if (logfd != -1) {
-               dup2 (logfd, 1);
+               VE_IGNORE_EINTR (dup2 (logfd, 1));
This page took 0.080404 seconds and 4 git commands to generate.