* Fake commit for r7251.
[INTERPRETER] * BUG: GB.SubstString() API now can take a void substitution string. It returns NULL instead of doing a segfault. Consequently, RegExp.Replace() from gb.pcre can take a null replace string without crashing. git-svn-id: svn://localhost/gambas/trunk@7261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
8ad98f6207
commit
8d5317452a
1 changed files with 1 additions and 0 deletions
|
@ -638,6 +638,7 @@ char *STRING_subst(const char *str, int len, SUBST_FUNC get_param)
|
|||
if (len <= 0)
|
||||
len = strlen(str);
|
||||
|
||||
// Comment to force a commit because svn unexpectedly lost my log
|
||||
if (len == 0)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue