if (lex_match_id ("FILE"))
lex_match ('=');
- fn = strdup(ds_c_str(&tokstr));
+ fn = ds_xstrdup (&tokstr);
lex_force_match(T_STRING);
}
else
{
- msg(ME, _("Expecting %s or %s."), "WRITEABLE", "READONLY");
+ msg (SE, _("Expecting %s or %s."), "WRITEABLE", "READONLY");
goto error;
}
if ( -1 == stat(file_name, &buf) )
{
const int errnum = errno;
- msg(ME,_("Cannot stat %s: %s"), file_name, strerror(errnum));
+ msg (SE, _("Cannot stat %s: %s"), file_name, strerror(errnum));
return 0;
}
{
const int errnum = errno;
- msg(ME,_("Cannot change mode of %s: %s"), file_name, strerror(errnum));
+ msg (SE, _("Cannot change mode of %s: %s"), file_name, strerror(errnum));
return 0;
}