dst = olen ? realloc(yylval.string, olen + len + 1) : malloc(len + 1);
if (dst == NULL) {
- yyerror("unable to allocate memory");
+ yyerror(_("unable to allocate memory"));
return FALSE;
}
yylval.string = dst;
dst = yylval.command.cmnd = (char *) malloc(len + 1);
if (yylval.command.cmnd == NULL) {
- yyerror("unable to allocate memory");
+ yyerror(_("unable to allocate memory"));
return FALSE;
}
(char *) malloc(arg_size);
if (p == NULL) {
efree(yylval.command.args);
- yyerror("unable to allocate memory");
+ yyerror(_("unable to allocate memory"));
return FALSE;
} else
yylval.command.args = p;
if (addspace)
*p++ = ' ';
if (strlcpy(p, s, arg_size - (p - yylval.command.args)) != len) {
- yyerror("fill_args: buffer overflow"); /* paranoia */
+ yyerror(_("fill_args: buffer overflow")); /* paranoia */
return FALSE;
}
arg_len = new_len;