Use quote()

This commit is contained in:
Sergey Poznyakoff
2005-02-03 16:28:37 +00:00
parent 91c69c885b
commit 4a7703ff21
3 changed files with 3 additions and 3 deletions

View File

@@ -1317,7 +1317,7 @@ check_links (void)
{
if (lp->nlink)
{
WARN ((0, 0, _("Missing links to '%s'.\n"), lp->name));
WARN ((0, 0, _("Missing links to %s.\n"), quote (lp->name)));
}
}
}

View File

@@ -475,7 +475,7 @@ prepare_to_extract (char const *file_name)
case KEEP_NEWER_FILES:
if (file_newer_p (file_name, &current_stat_info))
{
WARN ((0, 0, _("Current `%s' is newer"), file_name));
WARN ((0, 0, _("Current %s is newer"), quote (file_name)));
return 0;
}
break;

View File

@@ -159,7 +159,7 @@ xheader_set_keyword_equal (char *kw, char *eq)
if (strcmp (kw, "delete") == 0)
{
if (xheader_protected_pattern_p (p))
USAGE_ERROR ((0, 0, _("Pattern %s cannot be used"), p));
USAGE_ERROR ((0, 0, _("Pattern %s cannot be used"), quote (p)));
xheader_list_append (&keyword_pattern_list, p, NULL);
}
else if (strcmp (kw, "exthdr.name") == 0)