From 340c15d8ab0184c82a5a43f7bd4307a8df01c63b Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Wed, 18 Jun 2008 22:50:59 +0200 Subject: [PATCH] Added a comment. Rev: src/builtin.cmod:1.207 --- src/builtin.cmod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/builtin.cmod b/src/builtin.cmod index 0da42165f6..33355ed8c3 100644 --- a/src/builtin.cmod +++ b/src/builtin.cmod @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: builtin.cmod,v 1.206 2008/06/16 23:22:10 mast Exp $ +|| $Id: builtin.cmod,v 1.207 2008/06/18 20:50:59 mast Exp $ */ #include "global.h" @@ -2226,6 +2226,9 @@ PIKECLASS multi_string_replace /* FIXME: Why is from declared |void, when it isn't allowed * to be void? * /grubba 2004-09-02 + * + * It probably has to do with the "if (!args)" above: It should + * be possible to create an empty instance. /mast */ if (!from_arg || !to_arg) { Pike_error("Bad number of arguments to create().\n"); -- GitLab