awk/awk.patch

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

michael@610 1 Index: b.c
michael@610 2 --- b.c.orig 2005-02-08 20:21:44 +0100
michael@610 3 +++ b.c 2006-09-15 19:24:23 +0200
michael@610 4 @@ -720,7 +720,7 @@
michael@610 5
michael@610 6 #ifndef HAS_ISBLANK
michael@610 7
michael@610 8 -int (isblank)(int c)
michael@610 9 +static int (awk_isblank)(int c)
michael@610 10 {
michael@610 11 return c==' ' || c=='\t';
michael@610 12 }
michael@610 13 @@ -734,7 +734,7 @@
michael@610 14 } charclasses[] = {
michael@610 15 { "alnum", 5, isalnum },
michael@610 16 { "alpha", 5, isalpha },
michael@610 17 - { "blank", 5, isblank },
michael@610 18 + { "blank", 5, awk_isblank },
michael@610 19 { "cntrl", 5, iscntrl },
michael@610 20 { "digit", 5, isdigit },
michael@610 21 { "graph", 5, isgraph },

mercurial