tags 393149 -moreinfo
thanks

On Fri, Oct 27, 2006 at 02:33:44PM +0200, Stephan A Suerken wrote:
> Jon Westgate <[EMAIL PROTECTED]> (Wed Oct 25 22:44:07 2006):

> > Hi,
> > looking the results of the strace.
> > If I make the dir .uaerc and copy my ~/.Xauthority ~/.uaerc/
> > uae runs.

> > I wonder why it looking for .Xauthority in ~/.uaerc ?

> A just question indeed ;). I have no clue currently, mainly because I
> can't reproduce it and hence not track it down.

> Using strace only shows two successive successful accesses to
> ~/.Xauthority here. No trace of any manual opening of the file
> in the uae source. Tried some usual suspects (env, wd) w/o
> experiencing the bug.

> To minimize some possible side-effects (env mainly), could someone try
> w/ a freshly made test user on the remote side?

Let's go to the source instead.  The following error appears in the build
log on i386:

gcc-4.0 -I. -I../src/include/ -c  -O2 -fomit-frame-pointer  -Wall -Wno-unused 
-Wno-format -W -Wmissing-prototypes -Wstrict-prototypes 
-DGCCCONSTFUNC="__attribute__((const))" -mpreferred-stack-boundary=2 
-fno-exceptions -DUNALIGNED_PROFITABLE -fno-strength-reduce 
-DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS 
-DUSE_ZFILE -DSUPPORT_THREADS -D_REENTRANT -DUAE_FILESYS_THREADS 
-D__inline__=inline -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12   -DSHM_SUPPORT_LINKS=1   main.c -o main.o
[...]
main.c: In function 'real_main':
main.c:379: warning: 'pwd_optionsfile' is used uninitialized in this function
[...]

pwd_optionsfile is declared as char*, then used via strcpy() without
initialization.  And conveniently, this is in the code related to retrieving
$HOME from the environment.  Looks like a broken Debian patch to me.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to