Branch: Tag:

2002-11-27

2002-11-27 09:56:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix not needed in Pike 7.3.

Rev: src/builtin.cmod:1.99

2:   || 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.98 2002/11/27 09:41:44 grubba Exp $ + || $Id: builtin.cmod,v 1.99 2002/11/27 09:56:10 grubba Exp $   */      #include "global.h"
1475:    struct Buffer_struct *str = THIS;    int j;    -  for (j=0; j < args; j++) { -  if (Pike_sp[j-args].type != T_STRING) { -  Pike_error("add(): Bad argument %d (expected string).", j+1); -  } -  } -  +     if (!str->str.s && args) {    int sum = 0;    int shift = 0;