home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: mgleason@cse.unl.edu (Mike Gleason)
- Subject: v39i091: ncftp - Alternative User Interface for FTP, v1.5, Patch05
- Message-ID: <1993Sep20.142204.14206@sparky.sterling.com>
- X-Md4-Signature: e1c63eb9ddcc2b370b93e314d76ffb7f
- Sender: kent@sparky.sterling.com (Kent Landfield)
- Organization: NCEMRSoft
- Date: Mon, 20 Sep 1993 14:22:04 GMT
- Approved: kent@sparky.sterling.com
-
- Submitted-by: mgleason@cse.unl.edu (Mike Gleason)
- Posting-number: Volume 39, Issue 91
- Archive-name: ncftp/patch05
- Environment: UNIX, ANSI-C, !SVR4
- Patch-To: ncftp: Volume 39, Issue 53-57
-
- This is the fifth official patch to ncftp 1.5. This patch fixes
- one damn bug introduced in the 1.5.4 patch.
-
- As usual, you'll need the sources with all the previous patches applied
- for this to work.
-
- There are supposed to be tabs in this patch. Make sure your newsreader isn't
- converting them to spaces; if you have problems you may want to check to see
- if your 'patch' program can handle munged tabs (like patch -l, perhaps).
-
- I'll put up the whole 1.5.5 distribution up for ftp as:
- cse.unl.edu:/pub/mgleason/ncftp155.tar.z
- Don't call during business hours -- you won't be able to download it.
-
- diff -c ./ftp.c ../ncftp155/ftp.c
- *** ./ftp.c Wed Sep 15 19:20:50 1993
- --- ../ncftp155/ftp.c Thu Sep 16 20:16:54 1993
- ***************
- *** 421,427 ****
- */
- int command(char *cmd)
- {
- ! CommandWithFlags(cmd, WAIT_FOR_REPLY);
- } /* command */
-
- /* This stub runs 'CommandWithFlags' above, telling it to NOT wait for
- --- 421,427 ----
- */
- int command(char *cmd)
- {
- ! return (CommandWithFlags(cmd, WAIT_FOR_REPLY));
- } /* command */
-
- /* This stub runs 'CommandWithFlags' above, telling it to NOT wait for
- ***************
- *** 429,435 ****
- */
- int command_noreply(char *cmd)
- {
- ! CommandWithFlags(cmd, DONT_WAIT_FOR_REPLY);
- } /* command */
-
-
- --- 429,435 ----
- */
- int command_noreply(char *cmd)
- {
- ! return(CommandWithFlags(cmd, DONT_WAIT_FOR_REPLY));
- } /* command */
-
-
- diff -c ./main.c ../ncftp155/main.c
- *** ./main.c Wed Sep 15 19:20:50 1993
- --- ../ncftp155/main.c Thu Sep 16 20:16:54 1993
- ***************
- *** 7,13 ****
-
- #define _main_c_
-
- ! #define FTP_VERSION "1.5.4 (September 14, 1993)"
-
- /* #define BETA 1 */ /* If defined, it prints a little warning message. */
-
- --- 7,13 ----
-
- #define _main_c_
-
- ! #define FTP_VERSION "1.5.5 (September 16, 1993)"
-
- /* #define BETA 1 */ /* If defined, it prints a little warning message. */
-
- diff -c ./open.c ../ncftp155/open.c
- *** ./open.c Wed Sep 15 19:20:50 1993
- --- ../ncftp155/open.c Thu Sep 16 20:16:55 1993
- ***************
- *** 56,62 ****
- * the variables have valid values by setting them to their defaults.
- */
-
- ! int InitOpenOptions(OpenOptions *openopt)
- {
- /* How do you want to open a site if neither -a or -u are given?
- * anon_open is true (default to anonymous login), unless
- --- 56,62 ----
- * the variables have valid values by setting them to their defaults.
- */
-
- ! void InitOpenOptions(OpenOptions *openopt)
- {
- /* How do you want to open a site if neither -a or -u are given?
- * anon_open is true (default to anonymous login), unless
- diff -c ./open.h ../ncftp155/open.h
- *** ./open.h Wed Sep 15 19:20:50 1993
- --- ../ncftp155/open.h Thu Sep 16 20:16:55 1993
- ***************
- *** 33,39 ****
- #define FTPMORE 2
-
- /* Protos: */
- ! int InitOpenOptions(OpenOptions *openopt);
- int GetOpenOptions(int argc, char **argv, OpenOptions *openopt);
- int CheckForColonMode(OpenOptions *openopt, int *login_verbosity);
- int HookupToRemote(OpenOptions *openopt);
- --- 33,39 ----
- #define FTPMORE 2
-
- /* Protos: */
- ! void InitOpenOptions(OpenOptions *openopt);
- int GetOpenOptions(int argc, char **argv, OpenOptions *openopt);
- int CheckForColonMode(OpenOptions *openopt, int *login_verbosity);
- int HookupToRemote(OpenOptions *openopt);
- diff -c ./patchlevel.h ../ncftp155/patchlevel.h
- *** ./patchlevel.h Wed Sep 15 19:20:50 1993
- --- ../ncftp155/patchlevel.h Thu Sep 16 20:16:55 1993
- ***************
- *** 144,147 ****
- --- 144,150 ----
- * because that header also includes stuff like <readline/keymaps.h>.
- * Catman support added to Makefile. Fixed problem with terminfo, where
- * $<2> etc., was not being removed from the terminal control strings.
- + *
- + * v1.5.5 - September 16, 1993.
- + * Fixed a bug where a key function wasn't returning it's results.
- */
- --
- ______________________________________________________________________________
- mike gleason mgleason@cse.unl.edu NCEMRSoft, baby!
-
- exit 0 # Just in case...
-