Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/external/mit/xorg/bin/xauth



Christos Zoulas writes:
> In article <20140405170155.ACA4D4C%cvs.netbsd.org@localhost>,
> Matthias Scheler <source-changes-d%NetBSD.org@localhost> wrote:
> >-=-=-=-=-=-
> >
> >Module Name: src
> >Committed By:        tron
> >Date:                Sat Apr  5 17:01:55 UTC 2014
> >
> >Modified Files:
> >     src/external/mit/xorg/bin/xauth: Makefile
> >
> >Log Message:
> >Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the
> >program to fail with error messages like this one:
> >
> >/usr/X11R7/bin/xauth:  file /home/tron/.Xauthority does not exist
> >/usr/X11R7/bin/xauth:  unable to link authority file
> >/home/tron/.Xauthority, use /home/tron/.Xauthority
> >
> >This seems to be some weird compiler bug. If you add a debug printf(3) call
> >before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
> >link(2) the target and source filename have the correct value and
> >the call works. Without the printf(3) call it fails.
> 
> What does ktracing show?

it shows xauth doing this:

unlink("/home/foo/.Xauthority");
link("/home/foo/.Xauthority", "/home/foo/.Xauthority");

which is where it fails.

the code itself clearly can't be responsible for this, it is
using a -c or -n additional postfix on the filename for the
'src' link above, which isn't present.

at least, that appears to be the intent ;)


.mrg.


Home | Main Index | Thread Index | Old Index