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, 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.

I hear you.  Consistency is a good ultimate goal and I agree with the
suggestion.  I will provide a diff as soon as I will have had some
sufficiently connected chunks of free time.  I'd also like for the dust
to settle a little in /usr/games for the moment.

Reply via email to