Package: sed
Version: 4.1.2-8
Followup-For: Bug #273008

This bug was introduced upstream in sed-4.0e. The following patch seems to
fix it. Patch is for 4.1.4 but should apply fairly easily to any version from
4.0e up.

diff -ru sed-4.1.4/sed/execute.c sed-4.1.4.pac/sed/execute.c
--- sed-4.1.4/sed/execute.c     2004-12-26 09:56:41.000000000 -0500
+++ sed-4.1.4.pac/sed/execute.c 2005-10-02 02:15:07.000000000 -0500
@@ -738,8 +738,7 @@
 
   for (cur_cmd = vec->v, n = vec->v_length; n--; cur_cmd++)
     if (cur_cmd->a1
-       && (cur_cmd->a1->addr_type == ADDR_IS_NUM
-           || cur_cmd->a1->addr_type == ADDR_IS_NUM_MOD)
+       && cur_cmd->a1->addr_type == ADDR_IS_NUM
        && cur_cmd->a1->addr_number == 0)
       cur_cmd->range_state = RANGE_ACTIVE;
     else

-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.11-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages sed depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- debconf-show failed


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

Reply via email to