mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Use Gnulib's quote function in utils.c.
This commit is contained in:
parent
a358b3b69a
commit
3e34be1c4b
@ -14,6 +14,7 @@
|
|||||||
* progress.c: Likewise.
|
* progress.c: Likewise.
|
||||||
* recur.c: Likewise.
|
* recur.c: Likewise.
|
||||||
* res.c: Likewise.
|
* res.c: Likewise.
|
||||||
|
* utils.c: Likewise.
|
||||||
|
|
||||||
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
||||||
|
|
||||||
|
@ -348,7 +348,7 @@ fork_to_background (void)
|
|||||||
/* parent, no error */
|
/* parent, no error */
|
||||||
printf (_("Continuing in background, pid %d.\n"), (int) pid);
|
printf (_("Continuing in background, pid %d.\n"), (int) pid);
|
||||||
if (logfile_changed)
|
if (logfile_changed)
|
||||||
printf (_("Output will be written to `%s'.\n"), opt.lfilename);
|
printf (_("Output will be written to %s.\n"), quote (opt.lfilename));
|
||||||
exit (0); /* #### should we use _exit()? */
|
exit (0); /* #### should we use _exit()? */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -394,8 +394,8 @@ remove_link (const char *file)
|
|||||||
DEBUGP (("Unlinking %s (symlink).\n", file));
|
DEBUGP (("Unlinking %s (symlink).\n", file));
|
||||||
err = unlink (file);
|
err = unlink (file);
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
logprintf (LOG_VERBOSE, _("Failed to unlink symlink `%s': %s\n"),
|
logprintf (LOG_VERBOSE, _("Failed to unlink symlink %s: %s\n"),
|
||||||
file, strerror (errno));
|
quote (file), strerror (errno));
|
||||||
}
|
}
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user