[Bugzilla] [Bug 15422] Aman Mehta has changed cc

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Fri Mar 9 10:12:37 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=15422
--------- Bug Summary -----------
strsubst("ab", "", "cd")  crashes Scilab instead of returning "ab" (regression)

---------- Changed by ------------
amanmehta1997 at gmail.com

---------- What changed ----------
cc


Aman Mehta <amanmehta1997 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amanmehta1997 at gmail.com

--- Comment #2 from Aman Mehta <amanmehta1997 at gmail.com> ---
Hi, we could remove this error by adding a constraint on whenever the "string to search is empty".

Proposed solution:
if(*string_to_search=="" or len(*string_to_search)==0)
        return strings_input;

What do you think?

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180309/caa7b2c6/attachment.htm>


More information about the Bugzilla mailing list