[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ed] Two more buglets
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Bug-ed] Two more buglets |
Date: |
Thu, 14 Apr 2011 20:54:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
I have just released ed-1.6-rc2[1]. I think it fixes all the bugs
reported until now.
[1] http://download-mirror.savannah.gnu.org/releases/ed/
The problems related to NUL characters seem to be caused by a stupid
typo in regex.c:
--- ed-1.6-rc1/regex.c 2011-03-28 13:34:52.000000000 +0200
+++ ed-1.6-rc2/regex.c 2011-04-13 14:00:46.000000000 +0200
@@ -45,7 +45,7 @@
/* translate characters in a string */
static void translit_text( char * p, int len, const char from, const
char to )
{
- while( --len > 0 )
+ while( --len >= 0 )
{
if( *p == from ) *p = to;
++p;
Best regards,
Antonio.
- Re: [Bug-ed] Two more buglets, (continued)
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/08
- Re: [Bug-ed] Two more buglets, alm, 2011/04/10
- Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/11
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/11
- Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/12
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/12
- Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/12
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/12
Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/12
Re: [Bug-ed] Two more buglets,
Antonio Diaz Diaz <=