awk/awk.patch

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

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