Blame SOURCES/kdebase-workspace-4.4.92-xsession_errors_O_APPEND.patch

652846
diff -up kdebase-workspace-4.4.92/kdm/backend/client.c.xsession_errors_O_APPEND kdebase-workspace-4.4.92/kdm/backend/client.c
652846
--- kdebase-workspace-4.4.92/kdm/backend/client.c.xsession_errors_O_APPEND	2010-07-06 01:54:30.000000000 -0500
652846
+++ kdebase-workspace-4.4.92/kdm/backend/client.c	2010-07-07 12:27:24.901922619 -0500
652846
@@ -1223,7 +1223,7 @@ createClientLog(const char *log)
652846
         if (!(lname = expandMacros(log, macros)))
652846
             exit(1);
652846
         unlink(lname);
652846
-        if ((lfd = open(lname, O_WRONLY|O_CREAT|O_EXCL, 0600)) >= 0) {
652846
+        if ((lfd = open(lname, O_WRONLY|O_CREAT|O_EXCL|O_APPEND, 0600)) >= 0) {
652846
             dup2(lfd, 1);
652846
             dup2(lfd, 2);
652846
             close(lfd);