Hello
I have downloaded the new gnulib source codes with the modification by
Bruno Haible. I can get successful results in linking one of the dll files
for the octave that was failed due to the getlogin problem.
Thank you very much!!
Regards
Tatsuro
--- Bruno Haible wrote:
> > > > the gnuli
> > > the gnulib replacement for getlogin_r calls getlogin unconditionally, but
> > > getlogin doesn't exist on Windows systems.
>
> Oh, I see now what you mean. The cause is that getlogin_r had no unit test.
The new unit test indeed fails to link on mingw:
gcc -mno-cygwin -g -O2 -L/usr/local
> 2010-01-09 Bruno Haible
>
> Tests for module 'getlogin_r'.
> * modules/getlogin_r-tests: New file.
> * tests/test-getlogin_r.c: New file.
And a comment:
2010-01-09 Bruno Haible
* lib/unistd.in.h (getlogin_r): Add comment.
*** lib/unistd.in.h.origSat Ja
> > the gnulib replacement for getlogin_r calls getlogin unconditionally, but
> > getlogin doesn't exist on Windows systems.
Oh, I see now what you mean. The cause is that getlogin_r had no unit test.
I'm adding this test:
2010-01-09 Bruno Haible
Tests for module 'getlogin_r'.
John W. Eaton wrote:
> I'm using the glob module in GNU Octave and a Windows user complained
> that linking failed with an undefined reference to getlogin.
You mean getlogin or getlogin_r?
> The problem appears to be that getlogin_r is called from glob, and the
> gnulib replacement for getlogin_r
I'm using the glob module in GNU Octave and a Windows user complained
that linking failed with an undefined reference to getlogin.
The problem appears to be that getlogin_r is called from glob, and the
gnulib replacement for getlogin_r calls getlogin unconditionally, but
getlogin doesn't exist on