[list] RE: [list] RE: Qt 3.1 working files
Sat, 30 Nov 2002 22:07:16 -0000
> > Perhaps you can take the missing getlogin_r() function in the
> > > cygwin dll ?
> > #define getlogin_r (char* name, size_t namesize ) (strncpy
> (name, getlogin
> > (), namesize), 0)
> Thank you Chris for contributing this. One questions: Is this
> thread save so
> that this can added to the cygwin library ?
AFAICT getlogin_r is just a version of getlogin that copies the string into
a supplied buffer. If I'm right, then this macro can be added to aclocal.m4,
if I'm wrong then Martin Fuchs code looks good.