mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Quoting tweaks.
This commit is contained in:
parent
aeced96fae
commit
3323b84c30
@ -1,3 +1,8 @@
|
||||
2008-05-14 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* ftp.c (ftp_retrieve_list): Symlinks and other filenames
|
||||
should be fully quoted.
|
||||
|
||||
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
||||
|
||||
* ftp.c: Use Gnulib's quote function for printing filenames and
|
||||
|
@ -1492,15 +1492,15 @@ The sizes do not match (local %s) -- retrieving.\n\n"),
|
||||
{
|
||||
logprintf (LOG_VERBOSE, _("\
|
||||
Already have correct symlink %s -> %s\n\n"),
|
||||
con->target,
|
||||
quotearg_style (escape_quoting_style, f->linkto));
|
||||
quote (con->target),
|
||||
quote (f->linkto));
|
||||
dlthis = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
logprintf (LOG_VERBOSE, _("Creating symlink %s -> %s\n"),
|
||||
con->target, quotearg_style (escape_quoting_style, f->linkto));
|
||||
quote (con->target), quote (f->linkto));
|
||||
/* Unlink before creating symlink! */
|
||||
unlink (con->target);
|
||||
if (symlink (f->linkto, con->target) == -1)
|
||||
@ -1531,7 +1531,7 @@ Already have correct symlink %s -> %s\n\n"),
|
||||
break;
|
||||
case FT_UNKNOWN:
|
||||
logprintf (LOG_NOTQUIET, _("%s: unknown/unsupported file type.\n"),
|
||||
quotearg_style (escape_quoting_style, f->name));
|
||||
quote (f->name));
|
||||
break;
|
||||
} /* switch */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user