From 8d5317452a17d477ab02b4302154d9cb47c283a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Tue, 1 Sep 2015 23:25:20 +0000 Subject: [PATCH] * 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 --- main/gbx/gbx_string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/gbx/gbx_string.c b/main/gbx/gbx_string.c index 9c09fdd22..c667a221a 100644 --- a/main/gbx/gbx_string.c +++ b/main/gbx/gbx_string.c @@ -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;