head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2010Q2:1.2.0.2 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.1.0.38 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.36 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.34 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.32 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.30 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.28 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.26 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.24 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.22 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.20 pkgsrc-2008Q1:1.1.0.18 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.16 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.14 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.12 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.10 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.8 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.6 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.4 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.2 pkgsrc-2006Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2010.08.05.13.28.24; author drochner; state dead; branches; next 1.2; 1.2 date 2010.06.08.10.15.33; author wiz; state Exp; branches; next 1.1; 1.1 date 2005.12.29.16.09.42; author kim; state Exp; branches; next ; desc @@ 1.3 log @remove awk script modifications someone added for compatibility -- they are wrong and caused out-of-bounds memory accesses bump PKGREVISION @ text @$NetBSD: patch-ag,v 1.2 2010/06/08 10:15:33 wiz Exp $ Setting FS in some versions of awk makes it null. The default FS of "whitespace" works fine, so no need to redefine it. --- src/mkerrnos.awk.orig 2009-07-23 13:52:35.000000000 +0000 +++ src/mkerrnos.awk @@@@ -56,7 +56,7 @@@@ # as is trailing whitespace. BEGIN { - FS="[\t]+"; + #FS="[\t]+"; header = 1; if (errnoidx == 0) errnoidx = 2; @@@@ -68,7 +68,7 @@@@ BEGIN { /^#/ { next; } header { - if ($1 ~ /^[0-9]/) + if ($0 ~ /^[0-9]/) { print "#include "; print "#ifdef _WIN32"; @ 1.2 log @Update to 1.8: Noteworthy changes in version 1.8 (2010-05-06) ---------------------------------------------- * Support for WindowsCE. * New option --list for gpg-error. * Interface changes relative to the 1.7 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NOT_ENABLED NEW. GPG_ERR_SOURCE_G13 NEW. GPG_ERR_NO_ENGINE NEW. gpg_err_set_errno NEW. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2005/12/29 16:09:42 kim Exp $ @ 1.1 log @Avoid changing FS as it triggers an odd bug on some awk versions, with incorrect field calculation for the second field if the first field is numeric and there are only 2 fields total in the input record (line). The buggy awk was in 2.99.* and early 3.99.*, and identifies itself as awk version 20030729. However, not all awk's with this version number exhibit the problem (so it could be related to a library used by awk). Recent 3.99.* builds don't have this problem, and the awk versio on them is also much more recent. @ text @d1 1 a1 1 $NetBSD$ d6 2 a7 2 --- src/mkerrnos.awk.orig 2004-03-08 18:44:05.000000000 +0200 +++ src/mkerrnos.awk 2005-12-24 15:40:07.000000000 +0200 d17 1 a17 1 @@@@ -68,7 +68,7 @@@@ d25 1 a25 1 print ""; @