On Tue, Dec 01, 2015 at 03:08:39AM -0500, Ted Unangst wrote:
> Theo Buehler wrote:
> > Robots has a nicely implemented score file, so I decided not to touch
> > it, except for moving to $HOME by default. Needs pledge("getpw")
> > because of that.
>
> I think some combination of $LOGNAME, $USER,
Theo Buehler wrote:
> Robots has a nicely implemented score file, so I decided not to touch
> it, except for moving to $HOME by default. Needs pledge("getpw")
> because of that.
I think some combination of $LOGNAME, $USER, and getlogin() should suffice for
that. I mean, getlogin() alone should
Robots has a nicely implemented score file, so I decided not to touch
it, except for moving to $HOME by default. Needs pledge("getpw")
because of that.
Index: robots/main.c
===
RCS file: /cvs/src/games/robots/main.c,v
retrieving