Contents of /trunk/make/patches/make-3.82-sort-blank.patch
Parent Directory | Revision Log
Revision 1378 -
(show annotations)
(download)
Wed Jun 29 14:51:30 2011 UTC (13 years, 3 months ago) by niro
File size: 506 byte(s)
Wed Jun 29 14:51:30 2011 UTC (13 years, 3 months ago) by niro
File size: 506 byte(s)
-serveral patches
1 | diff -urp make-3.82/function.c make-3.82-pm/function.c |
2 | --- make-3.82/function.c 2010-07-13 03:20:39.000000000 +0200 |
3 | +++ make-3.82-pm/function.c 2010-10-27 01:43:27.000000000 +0200 |
4 | @@ -1138,12 +1138,12 @@ func_sort (char *o, char **argv, const c |
5 | { |
6 | char c = *(t++); |
7 | |
8 | - if (! isspace ((unsigned char)c)) |
9 | + if (! isblank ((unsigned char)c)) |
10 | continue; |
11 | |
12 | ++wordi; |
13 | |
14 | - while (isspace ((unsigned char)*t)) |
15 | + while (isblank ((unsigned char)*t)) |
16 | ++t; |
17 | } |