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 be 99.9% reliable, but like I said
before, maybe I want to override it with env (just because). I'd like for this
to be consistent between games, and the current course is removing getpwuid
calls.

Reply via email to