]> git.pld-linux.org Git - packages/kde4-kdebase-workspace.git/blame - kde4-kdebase-workspace-xsession_errors_O_APPEND.patch
- drop enlightenment reqs
[packages/kde4-kdebase-workspace.git] / kde4-kdebase-workspace-xsession_errors_O_APPEND.patch
CommitLineData
56654046
JR
1diff -up kdebase-workspace-4.4.92/kdm/backend/client.c.xsession_errors_O_APPEND kdebase-workspace-4.4.92/kdm/backend/client.c
2--- kdebase-workspace-4.4.92/kdm/backend/client.c.xsession_errors_O_APPEND 2010-07-06 01:54:30.000000000 -0500
3+++ kdebase-workspace-4.4.92/kdm/backend/client.c 2010-07-07 12:27:24.901922619 -0500
4@@ -1223,7 +1223,7 @@ createClientLog(const char *log)
5 if (!(lname = expandMacros(log, macros)))
6 exit(1);
7 unlink(lname);
8- if ((lfd = open(lname, O_WRONLY|O_CREAT|O_EXCL, 0600)) >= 0) {
9+ if ((lfd = open(lname, O_WRONLY|O_CREAT|O_EXCL|O_APPEND, 0600)) >= 0) {
10 dup2(lfd, 1);
11 dup2(lfd, 2);
12 close(lfd);
This page took 0.043235 seconds and 4 git commands to generate.