awk/awk.patch

Fri, 21 Sep 2012 22:45:41 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 21 Sep 2012 22:45:41 +0200
changeset 704
0a3af3462343
permissions
-rw-r--r--

Avoid root permissions generally and allow for single daemon execution.

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