summaryrefslogtreecommitdiff
path: root/~lukeshu/make-graph/make-3.82-sort-blank.patch
blob: 2e73f5b7ca8989a25287147cf0a6b1a6fb9b9ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -urp make-3.82/function.c make-3.82-pm/function.c
--- make-3.82/function.c	2010-07-13 03:20:39.000000000 +0200
+++ make-3.82-pm/function.c	2010-10-27 01:43:27.000000000 +0200
@@ -1138,12 +1138,12 @@ func_sort (char *o, char **argv, const c
     {
       char c = *(t++);
 
-      if (! isspace ((unsigned char)c))
+      if (! isblank ((unsigned char)c))
         continue;
 
       ++wordi;
 
-      while (isspace ((unsigned char)*t))
+      while (isblank ((unsigned char)*t))
         ++t;
     }