1
0
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:
Jim Meyering
2002-01-14 09:56:49 +00:00
parent 84f8fd1af6
commit e73a9ed54d

View File

@@ -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);
}