Branch: Tag:

1997-06-25

1997-06-25 22:47:56 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Compiler hacked

Rev: bin/mktestsuite:1.4.2.1
Rev: lib/master.pike:1.43.2.2
Rev: src/ChangeLog:1.97.2.2
Rev: src/Makefile.in:1.28.2.1
Rev: src/backend.c:1.10.2.3
Rev: src/builtin_functions.c:1.36.2.1
Rev: src/builtin_functions.h:1.3.2.1
Rev: src/compilation.h:1.3.2.1
Rev: src/cpp.c:1.1.2.1
Rev: src/docode.c:1.16.2.1
Rev: src/docode.h:1.2.2.1
Rev: src/interpret.c:1.42.2.1
Rev: src/interpret.h:1.11.2.1
Rev: src/language.yacc:1.42.2.2
Rev: src/las.c:1.32.2.1
Rev: src/las.h:1.6.2.1
Rev: src/lex.c:1.21.2.2
Rev: src/lex.h:1.4.2.1
Rev: src/main.c:1.21.2.1
Rev: src/modules/files/file.c:1.37.2.3
Rev: src/object.c:1.17.2.2
Rev: src/object.h:1.9.2.2
Rev: src/peep.c:1.10.2.1
Rev: src/pike_types.c:1.21.2.1
Rev: src/program.c:1.33.2.2
Rev: src/program.h:1.14.2.2
Rev: src/program_areas.h:1.1.2.1
Rev: src/stralloc.c:1.14.2.1
Rev: src/stralloc.h:1.7.2.1
Rev: src/stuff.c:1.2.2.1
Rev: src/stuff.h:1.1.1.1.2.1
Rev: src/svalue.c:1.12.2.1
Rev: src/testsuite.in:1.40.2.2
Rev: src/version.c:1.15.2.1

496:    buf=ret->str;    MEMCPY(buf,a->str,a->len);    MEMCPY(buf+a->len,b->str,b->len); -  ret=end_shared_string(ret); +  return end_shared_string(ret); + }    -  return ret; + struct pike_string *add_and_free_shared_strings(struct pike_string *a, +  struct pike_string *b) + { +  INT32 alen=a->len; +  a=realloc_shared_string(a,alen + b->len); +  MEMCPY(a->str+alen,b->str,b->len); +  free_string(b); +  return end_shared_string(a);   }      /*** replace function ***/