wok-6.x annotate xorg-xinit/stuff/06_move_serverauthfile_into_tmp.diff @ rev 16497
openssl: fix ARM cook
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 17:05:52 2014 +0200 (2014-04-23) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@7326 | 1 Move startx auth files in /tmp so they are removed on reboot. |
slaxemulator@7326 | 2 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357736 |
slaxemulator@7326 | 3 The trap patch didn't seem to work on reboot. |
slaxemulator@7326 | 4 --- |
slaxemulator@7326 | 5 startx.cpp | 2 +- |
slaxemulator@7326 | 6 1 file changed, 1 insertion(+), 1 deletion(-) |
slaxemulator@7326 | 7 |
slaxemulator@7326 | 8 Index: xinit/startx.cpp |
slaxemulator@7326 | 9 =================================================================== |
slaxemulator@7326 | 10 --- xinit.orig/startx.cpp |
slaxemulator@7326 | 11 +++ xinit/startx.cpp |
slaxemulator@7326 | 12 @@ -273,7 +273,7 @@ |
slaxemulator@7326 | 13 dummy=0 |
slaxemulator@7326 | 14 |
slaxemulator@7326 | 15 XCOMM create a file with auth information for the server. ':0' is a dummy. |
slaxemulator@7326 | 16 - xserverauthfile=$HOME/.serverauth.$$ |
slaxemulator@7326 | 17 + xserverauthfile=`mktemp -p /tmp serverauth.XXXXXXXXXX` |
slaxemulator@7326 | 18 trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM |
slaxemulator@7326 | 19 xauth -q -f "$xserverauthfile" << EOF |
slaxemulator@7326 | 20 add :$dummy . $mcookie |