bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is hard-coding the group name, "tty", portable enough for who -a?


From: Andreas Schwab
Subject: Re: is hard-coding the group name, "tty", portable enough for who -a?
Date: Fri, 11 Jul 2008 14:17:51 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> It's starting to look like the cost/benefit ratio is too high,
> so I don't expect to spend time on this.
> However, if someone can propose a portable and reliable test
> for that attribute, I'll be happy to consider it.

How about adding a configure option to set the expected group?  The
default could just be "tty" since it's the right one for the vast
majority of systems, but allows to override it if necessary.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]