Markup deprecation to command header to avoid people wasting time in fixing these utilities. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- disk-utils/elvtune.c | 9 +++++++++ login-utils/last.c | 9 +++++++++ login-utils/newgrp.c | 9 +++++++++ login-utils/vipw.c | 9 +++++++++ sys-utils/arch.c | 9 +++++++++ text-utils/line.c | 9 +++++++++ 6 files changed, 54 insertions(+) diff --git a/disk-utils/elvtune.c b/disk-utils/elvtune.c index 7c3caed..7c074ff 100644 --- a/disk-utils/elvtune.c +++ b/disk-utils/elvtune.c @@ -18,6 +18,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +/* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + #include <fcntl.h> #include <errno.h> #include <stdio.h> diff --git a/login-utils/last.c b/login-utils/last.c index 734730b..417314e 100644 --- a/login-utils/last.c +++ b/login-utils/last.c @@ -27,6 +27,15 @@ */ /* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + +/* * last */ #include <sys/param.h> diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c index 9839934..707c589 100644 --- a/login-utils/newgrp.c +++ b/login-utils/newgrp.c @@ -6,6 +6,15 @@ * - added Native Language Support */ +/* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + #include <errno.h> #include <getopt.h> #include <grp.h> diff --git a/login-utils/vipw.c b/login-utils/vipw.c index 92b4231..c0ed0b3 100644 --- a/login-utils/vipw.c +++ b/login-utils/vipw.c @@ -44,6 +44,15 @@ * - fixed strerr(errno) in gettext calls */ +/* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + #include <errno.h> #include <fcntl.h> #include <paths.h> diff --git a/sys-utils/arch.c b/sys-utils/arch.c index 0c29c3e..470b12b 100644 --- a/sys-utils/arch.c +++ b/sys-utils/arch.c @@ -18,6 +18,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +/* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + #include <err.h> #include <errno.h> #include <getopt.h> diff --git a/text-utils/line.c b/text-utils/line.c index 826e5a2..636122e 100644 --- a/text-utils/line.c +++ b/text-utils/line.c @@ -6,6 +6,15 @@ * Public Domain. */ +/* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + #include <stdio.h> #include <unistd.h> -- 1.7.9.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html