mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
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:
parent
21e21aad32
commit
ec6c14f6eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98935
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user