From 325c48d385c1cbdfe85f44e050eaf399960376ae Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 27 Jun 2002 21:23:16 +0000 Subject: 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 --- usr.sbin/chown/chown.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin') diff --git a/usr.sbin/chown/chown.c b/usr.sbin/chown/chown.c index b015458..88311d7 100644 --- a/usr.sbin/chown/chown.c +++ b/usr.sbin/chown/chown.c @@ -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); } -- cgit v1.1