Mark H Weaver <[email protected]> skribis: > Eli Zaretskii <[email protected]> writes: > >>> From: Mark H Weaver <[email protected]> >>> Cc: [email protected] (Ludovic Courtès), [email protected], >>> [email protected] >>> Date: Sat, 02 Jul 2016 19:02:08 -0400 >>> >>> Eli Zaretskii <[email protected]> writes: >>> > +# define getuid() (500) /* Local Administrator */ >>> > +# define getgid() (513) /* None */ >>> > +# define setuid(u) (0) >>> > +# define setgid(g) (0)
What about leaving ‘setuid’ and ‘setgid’ undefined, as was the case until now? ‘getuid’ and ‘getgid’ could either be undefined or return a “random” value; the latter only makes sense if in practice it helps run useful code without any observable difference, though I’m unsure whether such code exists. Anyway, I think we shouldn’t lose our hair over this problem; I’m grateful Eli did all this work porting Guile to MinGW, and that is what matters most. Thanks, Ludo’.
