XML XInclude support

Mark Kettenis mark.kettenis@xs4all.nl
Thu Feb 8 16:15:00 GMT 2007


> Date: Thu, 8 Feb 2007 08:13:55 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> I was afraid of the awk :-(  I was very careful to try to avoid
> GNU-ism; I tested with gawk, mawk, and gawk --posix.  But apparently
> all three of those let something through that nawk does not support.
> That line is:
> 
>         } else if (_ord_[c] >= 32 && _ord_[c] < 127) {
>           printf "'\''" c "'\'', "
> 
> We're inside single quotes here, so what gets passed to awk should be:
> 
>           printf "'" c "', "
> 
> Could you try replacing that line with this, to avoid the % being
> interpreted as a format specifier?
> 
> 	printf "'\''%c'\'', ", c

That seems to work, Thanks!



More information about the Gdb-patches mailing list