pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:5874:       return n;   }      PMOD_EXPORT int simple_add_constant(const char *name,    struct svalue *c,    INT32 flags)   {    INT32 ret;    struct pike_string *id; -  id=make_shared_string(name); +  id=make_shared_static_string(name, strlen(name), eightbit);    ret=add_constant(id, c, flags);    free_string(id);    return ret;   }      PMOD_EXPORT int low_add_integer_constant(struct pike_string *name,    INT_ARG_TYPE i,    INT32 flags)   {    struct svalue tmp;