Package: quilt
Severity: minor

The quilt test-suite fails when using mawk or original-awk instead of
gawk. After applying this patch, all run fine. It just drops a check
for a word boundary, which is a gawk-extension. I think it is safe to
use it, as there is very similar code in mail.in which does neither use
word-boundary checks. I suggest applying this patch and replacing the
gawk-dependency with a general awk-dependency.

*** awk-fix
Index: quilt-0.46/quilt/mail.in
===================================================================
--- quilt-0.46.orig/quilt/mail.in       2006-09-05 15:44:45.000000000 +0200
+++ quilt-0.46/quilt/mail.in    2007-07-03 23:47:04.000000000 +0200
@@ -204,9 +204,9 @@
                if [ [EMAIL PROTECTED] -eq 0 ]
                then
                        local desc=$(echo $(echo "$header" | awk '
-                               /^EDESC\>/      { desc = 0 }
+                               /^EDESC/        { desc = 0 }
                                desc            { print }
-                               /^DESC\>/       { desc = 1 }
+                               /^DESC/         { desc = 1 }
                                '))
                        if [ -n "$desc" ]
                        then


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable')
Architecture: i386 (i586)

Kernel: Linux 2.4.32
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to