Return to main.c CVS log | Up to [local] / src / usr.bin / sed |
version 1.6, 2002/02/16 21:27:52 | version 1.7, 2003/03/13 15:47:11 | ||
---|---|---|---|
|
|
||
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; |