bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Bug#140642: patch too clever for its own good when a


From: Michael Fedrowitz
Subject: Re: address@hidden: Bug#140642: patch too clever for its own good when applying diff-generated ed scripts]
Date: Sat, 6 Apr 2002 16:37:41 +0200
User-agent: Mutt/1.3.28i

On Wed, Apr 03, 2002 at 05:04:41PM +0200, Michael Fedrowitz wrote:

> another bug from the Debian BTS... The first strategy suggested seems to
> make most sense to me. I'll try to come up with a patch later.

Was easier than I thought, patch is below. (Note that p_indent is
already set when the first ed command is detected which is exactly what
we want).

-Michael


--- patch-2.5.4.orig/pch.c      Mon Aug 30 08:20:08 1999
+++ patch-2.5.4/pch.c   Sat Apr  6 16:25:00 2002
@@ -391,7 +391,6 @@
        if ((diff_type == NO_DIFF || diff_type == ED_DIFF) &&
          first_command_line >= 0 &&
          strEQ(s, ".\n") ) {
-           p_indent = indent;
            p_strip_trailing_cr = strip_trailing_cr;
            p_start = first_command_line;
            p_sline = fcl_line;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]