In the SUPPORT_DOT case, warn that seperation with a period is deprecated.

In -STABLE, this is default, in -CURRENT it is not, which leads to many a
headache for a user coming to -CURRENT without remembering this fact.  It
is one of the POLA violations we have not avoided by preparing the users
for it appopriately.  Therefore, a warnx(3) is added here, explicitly to
be MFC'd shortly to start the re-education process rolling.

Reviewed by:	General murmurs of approval in that IRC channel.
MFC after:	3 days
This commit is contained in:
Juli Mallett 2002-06-27 21:23:16 +00:00
parent 21e21aad32
commit ec6c14f6eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98935

View File

@ -145,6 +145,7 @@ main(argc, argv)
}
#ifdef SUPPORT_DOT
else if ((cp = strchr(*argv, '.')) != NULL) {
warnx("seperation of user and group with a period is deprecated");
*cp++ = '\0';
a_gid(cp);
}