Re: move scorefile + pledge for robots(6)

2015-12-01 Thread Theo Buehler
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,

Re: move scorefile + pledge for robots(6)

2015-12-01 Thread Ted Unangst
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

move scorefile + pledge for robots(6)

2015-11-29 Thread Theo Buehler
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