From e83b33f844f7bb511cb230409e5f28a7a1b92cc7 Mon Sep 17 00:00:00 2001 From: Steven Schweda Date: Thu, 24 Sep 2009 12:23:08 -0700 Subject: [PATCH] target -> targ; use OS_TYPE for VMS in build info string. --- src/ChangeLog | 7 +++++++ src/ftp.c | 2 +- src/main.c | 5 ----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index e6be4bf3..4a26e4a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2009-09-24 Steven Schweda + + * 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 * host.c (host_errstr): host_errstr should return const char *. diff --git a/src/ftp.c b/src/ftp.c index dfdd83c8..881c99be 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -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) { diff --git a/src/main.c b/src/main.c index dddc4b24..40ea4f76 100644 --- a/src/main.c +++ b/src/main.c @@ -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. */ -- 2.39.2