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


You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  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

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>
Project 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>
Project 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>


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.5