bug-gnu-utils
[Top][All Lists]
Advanced

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

Problem w/ getgroups in Gawk 3.1.1 on Ultrix


From: Bert Deknuydt
Subject: Problem w/ getgroups in Gawk 3.1.1 on Ultrix
Date: Fri, 10 May 2002 16:14:13 +0200

Hello,

I found the following problem with the most recent Gawk on Ultrix (mips and
vax).

On Ultrix, the getgroups() function does not conform to the standards and
returns '-1' if it's given (0,NULL) as arguments.  In fact, it continues to
return errors, unless the array is large enough to store all gid's.
Hence, gawk 3.1.1 always complains about "could not find groups:".  

I'd see two solutions ... 1) Somehow arrange HAVE_GETGROUPS to be false for
a nonconform getgroups(), 2) modify perfectly correct code ...

Greetings, Bert.


-- 
-------------- eMail address@hidden ---------------
B.DeKnuydt, PSI-KULeuven                            Tel. +32-16-321880
Kasteelpark Arenberg 10          /|    | ||
B-3001 Leuven-Heverlee        _,_)|  4_|_||
FLANDERS, BELGIUM            / .                    Fax. +32-16-321838
-------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------
        Cursed be man! How ungrateful is he! Qur'An 80, 17



reply via email to

[Prev in Thread] Current Thread [Next in Thread]