[BACK]Return to compile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sed

Diff for /src/usr.bin/sed/compile.c between version 1.35 and 1.36

version 1.35, 2013/11/28 18:24:55 version 1.36, 2014/10/08 04:19:08
Line 128 
Line 128 
         *compile_stream(&prog) = NULL;          *compile_stream(&prog) = NULL;
         fixuplabel(prog, NULL);          fixuplabel(prog, NULL);
         uselabel();          uselabel();
         appends = xmalloc(sizeof(struct s_appends) * appendnum);          appends = xreallocarray(NULL, appendnum, sizeof(struct s_appends));
         match = xmalloc((maxnsub + 1) * sizeof(regmatch_t));          match = xreallocarray(NULL, maxnsub + 1, sizeof(regmatch_t));
 }  }
   
 #define EATSPACE() do {                                                 \  #define EATSPACE() do {                                                 \

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36