Hi Stephan, Stephan Beal wrote: > --===============1226325735== > Content-Type: multipart/alternative; boundary=f46d043894c5bea1ca04db4d5d30 > > --f46d043894c5bea1ca04db4d5d30 > Content-Type: text/plain; charset=ISO-8859-1 > > On Sat, Apr 27, 2013 at 1:36 AM, Will Parsons <varro@nodomain.invalid>wrote: > >> One other thing - although there is no USER environment variable set >> (this is under FreeBSD), the environment variable LOGNAME *is* set, >> and I believe that LOGNAME rather than USER is the POSIXLY correct >> variable to identify the login user. > > a quick google doesn't turn up any docs which definitively specify > precedence of LOGNAME vs. USER, but i've just committed a patch for this > which prefers USER but tries LOGNAME if USER is not set. Please try out the > latest trunk. > > http://fossil-scm.org/index.html/info/5741754ed2
Thanks, I will try it. I don't have any serious gripe here, since it's easy enough to set the USER environment variable, but for LOGNAME being the "canonical" environment variable to indicate the login user, see http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html. -- Will _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users