* 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:
Benoît Minisini 2015-09-01 23:25:20 +00:00
parent 8ad98f6207
commit 8d5317452a

View file

@ -638,6 +638,7 @@ char *STRING_subst(const char *str, int len, SUBST_FUNC get_param)
if (len <= 0) if (len <= 0)
len = strlen(str); len = strlen(str);
// Comment to force a commit because svn unexpectedly lost my log
if (len == 0) if (len == 0)
return NULL; return NULL;