1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

target -> targ; use OS_TYPE for VMS in build info string.

This commit is contained in:
Steven Schweda 2009-09-24 12:23:08 -07:00
parent 37f915419b
commit e83b33f844
3 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2009-09-24 Steven Schweda <sms@antinode.info>
* main.c (print_version): Remove VMS-conditional build info
string; the new VMS builders use OS_TYPE.
* ftp.c (getftp): Fix accidental use of target -> targ.
2009-09-24 Micah Cowan <micah@cowan.name>
* host.c (host_errstr): host_errstr should return const char *.

View File

@ -690,7 +690,7 @@ Error in server response, closing control connection.\n"));
if (!opt.server_response)
logprintf (LOG_VERBOSE, "==> CWD (%d) %s ... ", cwd_count,
quotearg_style (escape_quoting_style, target));
err = ftp_cwd (csock, target);
err = ftp_cwd (csock, targ);
/* FTPRERR, WRITEFAILED, FTPNSFOD */
switch (err)
{

View File

@ -785,12 +785,7 @@ print_version (void)
char *env_wgetrc, *user_wgetrc;
int i;
#ifdef __VMS
printf (_("GNU Wget %s built on VMS %s %s.\n\n"),
version_string, vms_arch(), vms_vers());
#else /* def __VMS */
printf (_("GNU Wget %s built on %s.\n\n"), version_string, OS_TYPE);
#endif /* def __VMS */
/* compiled_features is a char*[]. We limit the characters per
line to MAX_CHARS_PER_LINE and prefix each line with a constant
number of spaces for proper alignment. */