[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replace-regexp bug?
From: |
Richard Stallman |
Subject: |
Re: replace-regexp bug? |
Date: |
Sat, 22 May 2004 17:44:31 -0400 |
Does this give good results?
*** insdel.c 26 Mar 2004 12:04:50 -0500 1.177
--- insdel.c 22 May 2004 17:34:48 -0400
***************
*** 1556,1562 ****
Z_BYTE -= nbytes_del;
GPT = from;
GPT_BYTE = from_byte;
! *(GPT_ADDR) = 0; /* Put an anchor. */
if (GPT_BYTE < GPT)
abort ();
--- 1556,1563 ----
Z_BYTE -= nbytes_del;
GPT = from;
GPT_BYTE = from_byte;
! if (nbytes_del > 0)
! *(GPT_ADDR) = 0; /* Put an anchor. */
if (GPT_BYTE < GPT)
abort ();