archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-xinit / trunk / 06_move_serverauthfile_into_tmp.diff
blob8730cddf07135a363b1349977dcfb42ffda48a14
1 --- xinit-1.4.2/startx.cpp 2022-12-04 21:29:02.886416839 +0100
2 +++ xinit-1.4.2/startx.cpp.new 2022-12-04 21:34:36.943389951 +0100
3 @@ -272,7 +272,7 @@
4 dummy=0
6 XCOMM create a file with auth information for the server. ':0' is a dummy.
7 - xserverauthfile=$HOME/.serverauth.$$
8 + xserverauthfile=`mktemp -p /tmp serverauth.XXXXXXXXXX`
9 trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP BUS TERM
10 xauth -q -f "$xserverauthfile" << EOF
11 add :$dummy . $mcookie