Branch: Tag:

1997-09-09

1997-09-09 04:47:57 by David Hedbor <david@hedbor.org>

Added a catch around the initgroups call, which sometimes failed.

Rev: server/base_server/roxen.pike:1.128

1: - constant cvs_version = "$Id: roxen.pike,v 1.127 1997/09/09 03:44:44 neotron Exp $"; + constant cvs_version = "$Id: roxen.pike,v 1.128 1997/09/09 04:47:57 neotron Exp $";   #define IN_ROXEN   #include <roxen.h>   #include <config.h>
1133:    } else    pw = getpwuid((int)u);   #if efun(initgroups) +  catch {    if(pw)    initgroups(pw[0], (int)g); -  +  // Doesn't always work - David. +  };   #endif   #if efun(setegid) && defined(SET_EFFECTIVE)    setegid((int)g);