nmh-workers
[Top] [All Lists]

Re: [nmh-workers] I Could Have Sworn that the inc Command used to work.

2019-06-04 16:14:55
May be so but this is allowed and getpwuid(geteuid()) will do the wrong
thing for all but one login id sharing the same uid.

*shrug* I mean, yeah ... but so what?  It's allowed, but we already
use getpwuid(getuid()) and we don't get bug reports on it being problem.

Practically speaking, pretty much all the programs I have seen use
either $USER or $LOGNAME.

I do not believe that the common practice is to use USER or LOGNAME.
My informal survey is that using getpwuid(getuid()) is by far more
common.

--Ken

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>