mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-04 12:05:23 +02:00
Comment fixes to bring us up to date with respect to POSIX 1003.1-2001.
In particular, POSIX.2 is now obsolete.
This commit is contained in:
@@ -88,14 +88,14 @@ main (int argc, char **argv)
|
||||
if (argc - optind != 0)
|
||||
usage (1);
|
||||
|
||||
/* POSIX.2 requires using getlogin (or equivalent code). */
|
||||
/* POSIX requires using getlogin (or equivalent code). */
|
||||
cp = getlogin ();
|
||||
if (cp)
|
||||
{
|
||||
puts (cp);
|
||||
exit (0);
|
||||
}
|
||||
/* POSIX.2 prohibits using a fallback technique. */
|
||||
/* POSIX prohibits using a fallback technique. */
|
||||
fprintf (stderr, _("%s: no login name\n"), argv[0]);
|
||||
exit (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user