From 329d0a370243f8e113074dc60f3e8b5917005307 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 22 Dec 1998 21:53:33 +0000 Subject: [PATCH] Tue Dec 22 10:07:58 1998 Elena Zannoni * Import of Readline 2.2.1. --- readline/.Sanitize | 44 +++++++++++++++++++++++++++++----------- readline/ChangeLog | 16 +++++++++++++++ readline/sysdep-6irix.h | 12 ----------- readline/sysdep-aix.h | 6 ------ readline/sysdep-cxux7.h | 18 ---------------- readline/sysdep-hpux.h | 7 ------- readline/sysdep-hpux11.h | 40 ------------------------------------ readline/sysdep-irix.h | 12 ----------- readline/sysdep-linux.h | 24 ---------------------- readline/sysdep-norm.h | 42 -------------------------------------- readline/sysdep-obsd.h | 12 ----------- readline/sysdep-sco.h | 13 ------------ readline/sysdep-sysv4.h | 26 ------------------------ 13 files changed, 48 insertions(+), 224 deletions(-) delete mode 100644 readline/sysdep-6irix.h delete mode 100644 readline/sysdep-aix.h delete mode 100644 readline/sysdep-cxux7.h delete mode 100644 readline/sysdep-hpux.h delete mode 100644 readline/sysdep-hpux11.h delete mode 100644 readline/sysdep-irix.h delete mode 100644 readline/sysdep-linux.h delete mode 100644 readline/sysdep-norm.h delete mode 100644 readline/sysdep-obsd.h delete mode 100644 readline/sysdep-sco.h delete mode 100644 readline/sysdep-sysv4.h diff --git a/readline/.Sanitize b/readline/.Sanitize index e6c545f5192..288221fa96d 100644 --- a/readline/.Sanitize +++ b/readline/.Sanitize @@ -23,44 +23,64 @@ Do-first: Things-to-keep: +CHANGELOG +CHANGES COPYING ChangeLog +INSTALL +MANIFEST +MANIFEST.doc Makefile.in +README +acconfig.h +aclocal.m4 +ansi_stdlib.h bind.c +callback.c chardefs.h complete.c -config +config.h.in +configure configure.in display.c doc emacs_keymap.c examples funmap.c +histexpand.c +histfile.c +histlib.h history.c history.h +histsearch.c +input.c isearch.c keymaps.c keymaps.h +kill.c +macro.c +nls.c parens.c +posixdir.h +posixjmp.h +posixstat.h readline.c readline.h +rlconf.h rldefs.h rltty.c +rltty.h +rlwinsize.h search.c +shell.c signals.c -sysdep-6irix.h -sysdep-aix.h -sysdep-cxux7.h -sysdep-hpux11.h -sysdep-hpux.h -sysdep-irix.h -sysdep-linux.h -sysdep-norm.h -sysdep-obsd.h -sysdep-sco.h -sysdep-sysv4.h +support +tcap.h +terminal.c tilde.c tilde.h +undo.c +util.c vi_keymap.c vi_mode.c xmalloc.c diff --git a/readline/ChangeLog b/readline/ChangeLog index d3172bce3da..ffe5f1555df 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,19 @@ +Tue Dec 22 10:00:30 1998 Elena Zannoni + + * shell.c (savestring): ifdef'd it out. + + * Imported new version of Readline 2.2.1. Removed all the Cygnus + local changes. + + New files: acconfig.h, aclocal.m4, ansi_stdlib.h, callback.c, + config.h.in, configure, histexpand.c, histfile.c, histlib.h, + histsearch.c, input.c, kill.c, macro.c, nls.c, posixdir.h, + posixjmp.h, posixstat.h, rlconf.h, rltty.h, rlwinsize.h, shell.c, + tcap.h, terminal.c, undo.c, util.c, support directory. + + Removed files: sysdep*, config directory. + + Fri Dec 4 15:25:41 1998 David Taylor The following changes were made by Jim Blandy diff --git a/readline/sysdep-6irix.h b/readline/sysdep-6irix.h deleted file mode 100644 index f2d4c7a2e79..00000000000 --- a/readline/sysdep-6irix.h +++ /dev/null @@ -1,12 +0,0 @@ -/* System-dependent stuff, for SGI Irix 6. */ - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#include -#endif - -#include -#include -#include -typedef struct direct dirent; diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h deleted file mode 100644 index 40c983a19c7..00000000000 --- a/readline/sysdep-aix.h +++ /dev/null @@ -1,6 +0,0 @@ -/* System-dependent stuff for AIX 3.1 on RS/6000 */ - -#pragma alloca -#include -#include -typedef struct dirent dirent; diff --git a/readline/sysdep-cxux7.h b/readline/sysdep-cxux7.h deleted file mode 100644 index eba3644287a..00000000000 --- a/readline/sysdep-cxux7.h +++ /dev/null @@ -1,18 +0,0 @@ -/* System-dependent stuff, for Harris CX/UX systems */ - -#ifndef alloca /* May be a macro, with args. */ -extern char *alloca (); -#endif - -#include /* Needed by dirent.h */ -#include -#include -typedef struct dirent dirent; - -/* SVR4 systems should use rather than . */ -#define _POSIX_VERSION - -/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize' - definition in , since it's unconditionally defined in - . */ -#define _POSIX_SOURCE diff --git a/readline/sysdep-hpux.h b/readline/sysdep-hpux.h deleted file mode 100644 index 2ab2d381aa3..00000000000 --- a/readline/sysdep-hpux.h +++ /dev/null @@ -1,7 +0,0 @@ -/* System-dependent stuff for HP/UX 10.20 on HPPA */ - -#include - -#include -typedef struct dirent dirent; - diff --git a/readline/sysdep-hpux11.h b/readline/sysdep-hpux11.h deleted file mode 100644 index da8a86493bf..00000000000 --- a/readline/sysdep-hpux11.h +++ /dev/null @@ -1,40 +0,0 @@ -/* System-dependent stuff, for hpux11 systems */ -/* If you think you need to change this file, then you are wrong. In order to - avoid a huge ugly mass of nested #ifdefs, you should create a new file just - for your system, which contains exactly those #includes and definitions that - your system needs, AND NOTHING MORE! Then, add that file to the appropriate - place in configure.in, and viola, you are done. sysdep-sunos4.h is a good - example of how to do this. */ - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#include -#ifndef alloca /* May be a macro, with args. */ -extern char *alloca (); -#endif -#endif - -#include /* Needed by dirent.h */ - -#if defined (USG) && defined (TIOCGWINSZ) -#include -#if defined (USGr4) || defined (USGr3) -#include -#endif /* USGr4 */ -#endif /* USG && TIOCGWINSZ */ - -#ifndef _WIN32 -#include -typedef struct dirent dirent; -#endif - -/* SVR4 systems should use rather than . */ - -#if defined (USGr4) -#define _POSIX_VERSION -#endif - -#if defined _WIN32 && !defined __GNUC__ -#include -#endif diff --git a/readline/sysdep-irix.h b/readline/sysdep-irix.h deleted file mode 100644 index e69de15a80e..00000000000 --- a/readline/sysdep-irix.h +++ /dev/null @@ -1,12 +0,0 @@ -/* System-dependent stuff, for SGI irix */ - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -extern char *alloca (); -#endif - -#include -#include -#include -typedef struct direct dirent; diff --git a/readline/sysdep-linux.h b/readline/sysdep-linux.h deleted file mode 100644 index 46ea5d49a94..00000000000 --- a/readline/sysdep-linux.h +++ /dev/null @@ -1,24 +0,0 @@ -/* System-dependent stuff, for Linux systems. Known to be good for - Linux/Alpha, but should work for all other platforms, too. */ - -/* - * This is important on Linux/Alpha where sizeof(void*) != sizeof(int). - */ -#define HAVE_VARARGS_H - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#if defined (sparc) && defined (sun) -#include -#endif -#ifndef alloca /* May be a macro, with args. */ -extern char *alloca (); -#endif -#endif - -#include /* Needed by dirent.h */ -#include - -#include -typedef struct dirent dirent; diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h deleted file mode 100644 index 6cf1f347add..00000000000 --- a/readline/sysdep-norm.h +++ /dev/null @@ -1,42 +0,0 @@ -/* System-dependent stuff, for ``normal'' systems */ -/* If you think you need to change this file, then you are wrong. In order to - avoid a huge ugly mass of nested #ifdefs, you should create a new file just - for your system, which contains exactly those #includes and definitions that - your system needs, AND NOTHING MORE! Then, add that file to the appropriate - place in configure.in, and viola, you are done. sysdep-sunos4.h is a good - example of how to do this. */ - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#if defined (sparc) && defined (sun) -#include -#endif -#ifndef alloca /* May be a macro, with args. */ -extern char *alloca (); -#endif -#endif - -#include /* Needed by dirent.h */ - -#if defined (USG) && defined (TIOCGWINSZ) -#include -#if defined (USGr4) || defined (USGr3) -#include -#endif /* USGr4 */ -#endif /* USG && TIOCGWINSZ */ - -#ifndef _WIN32 -#include -typedef struct dirent dirent; -#endif - -/* SVR4 systems should use rather than . */ - -#if defined (USGr4) -#define _POSIX_VERSION -#endif - -#if defined _WIN32 && !defined __GNUC__ -#include -#endif diff --git a/readline/sysdep-obsd.h b/readline/sysdep-obsd.h deleted file mode 100644 index 88bcdd61325..00000000000 --- a/readline/sysdep-obsd.h +++ /dev/null @@ -1,12 +0,0 @@ -/* System-dependent stuff, for Sony NEwS, Mach, and other systems - in the "old BSD Unix" tradition. */ - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -extern char *alloca (); -#endif - -#include -#include -typedef struct direct dirent; diff --git a/readline/sysdep-sco.h b/readline/sysdep-sco.h deleted file mode 100644 index 31af763b447..00000000000 --- a/readline/sysdep-sco.h +++ /dev/null @@ -1,13 +0,0 @@ -/* System-dependent stuff, for SCO systems */ - -#include - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - -#include -#include -#include -#include -typedef struct dirent dirent; diff --git a/readline/sysdep-sysv4.h b/readline/sysdep-sysv4.h deleted file mode 100644 index 558492f3048..00000000000 --- a/readline/sysdep-sysv4.h +++ /dev/null @@ -1,26 +0,0 @@ -/* System-dependent stuff, for SVR4 systems */ - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#if defined (sparc) && defined (sun) -#include -#endif -#ifndef alloca /* May be a macro, with args. */ -extern char *alloca (); -#endif -#endif - -#include /* Needed by dirent.h */ -#include -#include -#include -typedef struct dirent dirent; - -/* SVR4 systems should use rather than . */ -#define _POSIX_VERSION - -/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize' - definition in , since it's unconditionally defined in - . */ -#define _POSIX_SOURCE -- 2.30.2