Mail Archives: djgpp-workers/2001/01/06/07:48:51
Hello.
There appears to be a bug in lstat() - see line 910 of
src/libc/posix/sys/stat/lstat.c:
if (__FSEXT_call_open_handlers(__FSEXT_stat, &ret, &real_path))
return ret;
__FSEXT_call_open_handlers() should be called with the third arg as a
va_list, not a pointer like this. This has the effect of causing segfaults
in FSEXTs that support __FSEXT_stat, because the FSEXT expects the va_list
to contain a filename and pointer to a stat buffer, but only a filename
will be found.
Unfortunately I don't have time to fix it right now.
Bye, Rich =]
--
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]
- Raw text -