summaryrefslogtreecommitdiff
path: root/~lukeshu/make-graph/make-3.82-sort-blank.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-25 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-12-25 23:14:50 +0000
commite39d5f838c08b5b57eae4c1aec4ae00acd18b239 (patch)
tree5508286adf4ead02d969fe07072a7823729ad256 /~lukeshu/make-graph/make-3.82-sort-blank.patch
parent2d2e64c7c198ff82ea6e306f7673168dcf5ddca7 (diff)
Sun Dec 25 23:14:50 UTC 2011
Diffstat (limited to '~lukeshu/make-graph/make-3.82-sort-blank.patch')
-rw-r--r--~lukeshu/make-graph/make-3.82-sort-blank.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/~lukeshu/make-graph/make-3.82-sort-blank.patch b/~lukeshu/make-graph/make-3.82-sort-blank.patch
new file mode 100644
index 000000000..2e73f5b7c
--- /dev/null
+++ b/~lukeshu/make-graph/make-3.82-sort-blank.patch
@@ -0,0 +1,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;
+ }