bugGNUstep - Bugs: bug #20269, -[NSMutableString...

Group
 
 

bug #20269: -[NSMutableString replaceOccurrencesOfString:withString:options:range:] fails on certain strings

Submitter:  Larry Campbell <lcampbel>
Submitted:  Tue 26 Jun 2007 06:28:48 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Jun 2007 07:24:31 PM UTC, comment #4: 

OK ... that's quite old (current stable release is 1.14.0).  I can't reproduce it with 1.15.0 on 64bit or 32bit intel debian system, and I can't reproduce it with 1.14.0 on Fedora 2 either, so I guess this was fixed long ago.

If you can reproduce the problem with a current release, we can re-open this and investigate possible system dependent issues.

Richard Frith-Macdonald <CaS>
Group Member
Tue 26 Jun 2007 06:58:59 PM UTC, comment #3: 

oh, gcc 4.1 in case that matters. I can also reproduce it using gcc 3.3 and gnustep-base 1.12.0.

Larry Campbell <lcampbel>
Tue 26 Jun 2007 06:55:09 PM UTC, comment #2: 

gnustep-base 1.13.0, Debian linux 2.4 on Pentium 4.

Larry Campbell <lcampbel>
Tue 26 Jun 2007 06:44:45 PM UTC, comment #1: 

Can't reproduce the problem ... what version of the GNUstep are you using and on what hardware and operating system etc?

Richard Frith-Macdonald <CaS>
Group Member
Tue 26 Jun 2007 06:28:48 PM UTC, original submission:  

I've attached a test program that demonstrates a bug in -[NSMutableString replaceOccurrencesOfString:withString:options:range:]. All occurrences of the character '>" should be replaced with "&gt;", but the last one is not.

Larry Campbell <lcampbel>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #13177:  Foo.m added by lcampbel (492B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by lcampbel (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-26 CaS StatusNone Works For Me
        Open/ClosedOpen Closed
    2007-06-26 lcampbel Attached File- Added Foo.m, #13177

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code