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

Diff for /src/usr.bin/sed/main.c between version 1.6 and 1.7

version 1.6, 2002/02/16 21:27:52 version 1.7, 2003/03/13 15:47:11
Line 192 
Line 192 
                         if ((snprintf(string_ident,                          if ((snprintf(string_ident,
                             sizeof(string_ident), "\"%s\"", script->s)) >=                              sizeof(string_ident), "\"%s\"", script->s)) >=
                             sizeof(string_ident))                              sizeof(string_ident))
                                 (void)strcpy(string_ident +                                  strlcpy(string_ident +
                                     sizeof(string_ident) - 6, " ...\"");                                      sizeof(string_ident) - 6, " ...\"", 5);
                         fname = string_ident;                          fname = string_ident;
                         s = script->s;                          s = script->s;
                         state = ST_STRING;                          state = ST_STRING;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7