Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/ftp pull up rev 1.32 from trunk. (cgd)



details:   https://anonhg.NetBSD.org/src/rev/d8bfa741b250
branches:  netbsd-1-4
changeset: 469054:d8bfa741b250
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Jun 25 01:15:21 1999 +0000

description:
pull up rev 1.32 from trunk. (cgd)

diffstat:

 usr.bin/ftp/ftp_var.h |  23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diffs (66 lines):

diff -r 3ac8e87c4b9e -r d8bfa741b250 usr.bin/ftp/ftp_var.h
--- a/usr.bin/ftp/ftp_var.h     Fri Jun 25 01:15:14 1999 +0000
+++ b/usr.bin/ftp/ftp_var.h     Fri Jun 25 01:15:21 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftp_var.h,v 1.31 1999/03/22 07:36:40 lukem Exp $       */
+/*     $NetBSD: ftp_var.h,v 1.31.2.1 1999/06/25 01:15:21 cgd Exp $     */
 
 /*
  * Copyright (c) 1985, 1989, 1993, 1994
@@ -39,6 +39,15 @@
  * FTP global variables.
  */
 
+#ifdef SMALL
+#undef NO_ABOUT
+#define        NO_ABOUT
+#undef NO_EDITCOMPLETE
+#define        NO_EDITCOMPLETE
+#undef NO_PROGRESS
+#define        NO_PROGRESS
+#endif
+
 #include <sys/param.h>
 
 #include <netinet/in.h>
@@ -47,9 +56,9 @@
 #include <setjmp.h>
 #include <stringlist.h>
 
-#ifndef SMALL
+#ifndef NO_EDITCOMPLETE
 #include <histedit.h>
-#endif /* !SMALL */
+#endif /* !NO_EDITCOMPLETE */
 
 #include "extern.h"
 
@@ -126,14 +135,14 @@
 char   *tmpdir;                        /* temporary directory */
 FILE   *ttyout;                        /* stdout, or stderr if retrieving to stdout */
 
-#ifndef SMALL
+#ifndef NO_EDITCOMPLETE
 int      editing;              /* command line editing enabled */
 EditLine *el;                  /* editline(3) status structure */
 History  *hist;                        /* editline(3) history structure */
 char    *cursor_pos;           /* cursor position we're looking for */
 size_t   cursor_argc;          /* location of cursor in margv */
 size_t   cursor_argo;          /* offset of cursor in margv[cursor_argc] */
-#endif /* !SMALL */
+#endif /* !NO_EDITCOMPLETE */
 
 off_t  bytes;                  /* current # of bytes read */
 off_t  filesize;               /* size of file being transferred */
@@ -185,9 +194,9 @@
        char     c_bell;        /* give bell when command completes */
        char     c_conn;        /* must be connected to use command */
        char     c_proxy;       /* proxy server may execute */
-#ifndef SMALL
+#ifndef NO_EDITCOMPLETE
        char    *c_complete;    /* context sensitive completion list */
-#endif /* !SMALL */
+#endif /* !NO_EDITCOMPLETE */
        void    (*c_handler) __P((int, char **)); /* function to call */
 };
 



Home | Main Index | Thread Index | Old Index