Contents of /trunk/coreutils/patches-5.3.0/coreutils-5.3.0-warning-nice.c.patch
Parent Directory | Revision Log
Revision 44 -
(show annotations)
(download)
Thu Oct 13 21:17:16 2005 UTC (18 years, 11 months ago) by niro
File size: 495 byte(s)
Thu Oct 13 21:17:16 2005 UTC (18 years, 11 months ago) by niro
File size: 495 byte(s)
patch set for coretutils-5.3.0
1 | diff -urN 2/src/nice.c 3/src/nice.c |
2 | --- 2/src/nice.c 2005-03-25 23:51:05.000000000 +0000 |
3 | +++ 3/src/nice.c 2005-03-30 14:30:59.000000000 +0000 |
4 | @@ -114,6 +114,8 @@ |
5 | if (s[0] == '-' && ISDIGIT (s[1 + (s[1] == '-' || s[1] == '+')]) |
6 | && (posix2_version () < 200112 || !getenv ("POSIXLY_CORRECT"))) |
7 | { |
8 | + if (!getenv ("POSIXLY_CORRECT")) |
9 | + error (0, 0, _("`%s' option is obsolete; use `-n %s' since this will be removed in the future"), s, s+1); |
10 | adjustment_given = s + 1; |
11 | ++i; |
12 | } |