Message24951
Logged In: YES
user_id=1254741
My test program that compiled correctly with "cc -c -g":
#include <unistd.h>
int main ()
{
void *p = setgroups;
return 0;
}
The definition of setgroups in <unistd.h>:
#if _SGIAPI
...
#if defined(_BSD_COMPAT)
extern int setgroups(int, int *);
#else /* !_BSD_COMPAT */
extern int setgroups(int, const gid_t *);
#endif /* _BSD_COMPAT */
...
#endif /* _SGIAPI */
So it should catch one of these defines.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:30:54 | admin | link | issue1178510 messages |
2007-08-23 14:30:54 | admin | create | |
|