Your message dated Thu, 21 Aug 2008 19:32:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#432014: fixed in gawk 1:3.1.6.dfsg-1 has caused the Debian Bug report #432014, regarding gawk: match returns random position values for certain regular expressions to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 432014: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432014 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: gawk Version: 1:3.1.5.dfsg-4 Severity: important -- System Information: Debian Release: 4.0 APT prefers etch APT policy: (500, 'etch'), (90, 'etch-proposed-updates') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages gawk depends on: ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries gawk recommends no packages. -- no debconf information How to reproduce the error: ( for r in '$' 'x*' 'x*$' 'x+$' do for s in '' ab abc abx do for i in 1 2; do echo "$r" "$s"; done done done ) | gawk '{ print "/" $1 "/ matches the string <" $2 "> at position " match($2,$1); }' | pr -t -n' 2' 1 /$/ matches the string <> at position -1208945415 2 /$/ matches the string <> at position 134852921 3 /$/ matches the string <ab> at position 17 4 /$/ matches the string <ab> at position 17 5 /$/ matches the string <abc> at position 66 6 /$/ matches the string <abc> at position 66 7 /$/ matches the string <abx> at position 66 8 /$/ matches the string <abx> at position 66 9 /x*/ matches the string <> at position 1 10 /x*/ matches the string <> at position 134852921 11 /x*/ matches the string <ab> at position 1 12 /x*/ matches the string <ab> at position 1 13 /x*/ matches the string <abc> at position 1 14 /x*/ matches the string <abc> at position 1 15 /x*/ matches the string <abx> at position 1 16 /x*/ matches the string <abx> at position 1 17 /x*$/ matches the string <> at position 1 18 /x*$/ matches the string <> at position 134854177 19 /x*$/ matches the string <ab> at position 3 20 /x*$/ matches the string <ab> at position 3 21 /x*$/ matches the string <abc> at position 66 22 /x*$/ matches the string <abc> at position 66 23 /x*$/ matches the string <abx> at position 3 24 /x*$/ matches the string <abx> at position 3 25 /x+$/ matches the string <> at position 0 26 /x+$/ matches the string <> at position 0 27 /x+$/ matches the string <ab> at position 0 28 /x+$/ matches the string <ab> at position 0 29 /x+$/ matches the string <abc> at position 0 30 /x+$/ matches the string <abc> at position 0 31 /x+$/ matches the string <abx> at position 3 32 /x+$/ matches the string <abx> at position 3 Note, that each combination of a regular expression and a string is tested twice, to demonstrate some randomness in the calculation. Wrong position values occur in the following output lines: line# expected returned position position 1 1 -1208945415 2 1 134852921 3 3 17 4 3 17 5 4 66 6 4 66 7 4 66 8 4 66 10 1 134852921 Why is line #9 right? 18 1 134854177 Why is line #17 right? 21 4 66 22 4 66 Note that all examples with regular expression /x+$/ are right. Maybe this bug is related to #385869? Regards, Friedhelm.
--- End Message ---
--- Begin Message ---Source: gawk Source-Version: 1:3.1.6.dfsg-1 We believe that the bug you reported is fixed in the latest version of gawk, which is due to be installed in the Debian FTP archive: gawk_3.1.6.dfsg-1.diff.gz to pool/main/g/gawk/gawk_3.1.6.dfsg-1.diff.gz gawk_3.1.6.dfsg-1.dsc to pool/main/g/gawk/gawk_3.1.6.dfsg-1.dsc gawk_3.1.6.dfsg-1_alpha.deb to pool/main/g/gawk/gawk_3.1.6.dfsg-1_alpha.deb gawk_3.1.6.dfsg.orig.tar.gz to pool/main/g/gawk/gawk_3.1.6.dfsg.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Arthur Loiret <[EMAIL PROTECTED]> (supplier of updated gawk package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 21 Aug 2008 19:18:25 +0000 Source: gawk Binary: gawk Architecture: source alpha Version: 1:3.1.6.dfsg-1 Distribution: experimental Urgency: low Maintainer: Arthur Loiret <[EMAIL PROTECTED]> Changed-By: Arthur Loiret <[EMAIL PROTECTED]> Description: gawk - GNU awk, a pattern scanning and processing language Closes: 307510 369277 369278 369279 369280 385869 390577 408391 410299 425842 432014 440799 451614 471664 Changes: gawk (1:3.1.6.dfsg-1) experimental; urgency=low . * New maintainer. * New upstream release. Closes: #451614 - Upload to experimental until we are sure testsuite passes on all archs. - Return right RLENGTH in match functions. Closes: #385869 - Fix SIGABRT when LANG=*.UTF-8 on amd64. Closes: #410299 - Return correct position values for regular expressions. Closes: #432014 - Fix sub() behaviour with MBS_SUPPORT defined. Closes: #369277 - Avoid bogus error setting BINMODE on command line. Closes: #369278 - Handle NULL character properly. Closes: #369279 - Fix FIELDWIDTHS off-by-one error. Closes: #369280 - Fix some memory leaks on match(s,r). Closes: #440799 * Already fixed bugs in previous versions: - Fix some memory corruptions. Closes: #408391, #425842. - Print correct string length after index and sub. Closes: #471664 * Update patches: - debian/patches/18_de.po-typos.dpatch: Refresh. - debian/patches/25_free_wstr-and-multiple-frees.dpatch: Remove, already applied upstream. - debian/patches/01_po-Makefile.in.in.dpatch: Remove, fixed upstream. - debian/patches/19_io.c-invalid-free.dpatch: Remove, fixed upstream. * debian/patches/19_fr.po-typos.dpatch: Add, fix some typos in the French translation. Closes: #390577 * debian/patches/00list: Update. * debian/copyright: Update. * debian/control: - Bump Standards-Version to 3.8.0. - Add Homepage filed. * debian/rules: - Bump version to 3.1.6. - Improve a bit. - Fix prefix in make install. - Don't install obsolete README.FIRST. - Configure with --enable-switch. Closes: #307510 Checksums-Sha1: a0613f24979d38369512b455eb38abb28ad0f1b0 1045 gawk_3.1.6.dfsg-1.dsc f2ee33a9dc8add14f667bc5416f5f3f4df6b86df 1724658 gawk_3.1.6.dfsg.orig.tar.gz 7ed445cf5bb0729807fc20228db61423fab40e4d 11777 gawk_3.1.6.dfsg-1.diff.gz c8eb287861abf74792c4f1521c9333d787cb9878 793594 gawk_3.1.6.dfsg-1_alpha.deb Checksums-Sha256: 00c6e720a1762bb3dfd27b6a85839d5310465b46cfde421997d9981191b0666f 1045 gawk_3.1.6.dfsg-1.dsc 455abea907c5648b364d65fec5221b7712d9d219d1711e9deae8dc0f3a329ccd 1724658 gawk_3.1.6.dfsg.orig.tar.gz d6d654c26831789d3a08b0aca841dde91cb9a2020c591d75ac04c9314294d2ab 11777 gawk_3.1.6.dfsg-1.diff.gz 3ee23df4cc0c6f0e2a07aa3aedd4471a453a0683f774955d1b8172a9c2fd5f42 793594 gawk_3.1.6.dfsg-1_alpha.deb Files: 897f6ee54adff6e1194635be3f046d30 1045 interpreters optional gawk_3.1.6.dfsg-1.dsc 66a7a7ae8bda7b3216db0a7e8d88f65e 1724658 interpreters optional gawk_3.1.6.dfsg.orig.tar.gz e20ec5d1af6b6191979ead3152de9788 11777 interpreters optional gawk_3.1.6.dfsg-1.diff.gz c783791fb707c01b9924b9578f648c9c 793594 interpreters optional gawk_3.1.6.dfsg-1_alpha.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkitwd4ACgkQeW7Lc5tEHqhPFgCghISE0gD+IcwRxdnqJ+BxWA8d UJwAn0Pcp2Vziv1C89ZxhuVJEs9LAMiC =Ej1/ -----END PGP SIGNATURE-----
--- End Message ---

