aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>1998-12-22 21:53:33 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>1998-12-22 21:53:33 +0000
commit329d0a370243f8e113074dc60f3e8b5917005307 (patch)
tree880e39a7fc5884111f26e10dd0c79f000878a6f6
parent1ec3146a4472e7ecd9525bdec1a9eaee1e93d76f (diff)
downloadgdb-329d0a370243f8e113074dc60f3e8b5917005307.zip
gdb-329d0a370243f8e113074dc60f3e8b5917005307.tar.gz
gdb-329d0a370243f8e113074dc60f3e8b5917005307.tar.bz2
Tue Dec 22 10:07:58 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of Readline 2.2.1.
-rw-r--r--readline/.Sanitize44
-rw-r--r--readline/ChangeLog16
-rw-r--r--readline/sysdep-6irix.h12
-rw-r--r--readline/sysdep-aix.h6
-rw-r--r--readline/sysdep-cxux7.h18
-rw-r--r--readline/sysdep-hpux.h7
-rw-r--r--readline/sysdep-hpux11.h40
-rw-r--r--readline/sysdep-irix.h12
-rw-r--r--readline/sysdep-linux.h24
-rw-r--r--readline/sysdep-norm.h42
-rw-r--r--readline/sysdep-obsd.h12
-rw-r--r--readline/sysdep-sco.h13
-rw-r--r--readline/sysdep-sysv4.h26
13 files changed, 48 insertions, 224 deletions
diff --git a/readline/.Sanitize b/readline/.Sanitize
index e6c545f..288221f 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 d3172bc..ffe5f15 100644
--- a/readline/ChangeLog
+++ b/readline/ChangeLog
@@ -1,3 +1,19 @@
+Tue Dec 22 10:00:30 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * 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 <taylor@texas.cygnus.com>
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 f2d4c7a..0000000
--- 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 <alloca.h>
-#endif
-
-#include <sys/types.h>
-#include <sys/stream.h>
-#include <sys/dir.h>
-typedef struct direct dirent;
diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h
deleted file mode 100644
index 40c983a..0000000
--- a/readline/sysdep-aix.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/* System-dependent stuff for AIX 3.1 on RS/6000 */
-
-#pragma alloca
-#include <sys/types.h>
-#include <dirent.h>
-typedef struct dirent dirent;
diff --git a/readline/sysdep-cxux7.h b/readline/sysdep-cxux7.h
deleted file mode 100644
index eba3644..0000000
--- 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 <sys/types.h> /* Needed by dirent.h */
-#include <sys/stream.h>
-#include <dirent.h>
-typedef struct dirent dirent;
-
-/* SVR4 systems should use <termios.h> rather than <termio.h>. */
-#define _POSIX_VERSION
-
-/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
- definition in <termios.h>, since it's unconditionally defined in
- <sys/ptem.h>. */
-#define _POSIX_SOURCE
diff --git a/readline/sysdep-hpux.h b/readline/sysdep-hpux.h
deleted file mode 100644
index 2ab2d38..0000000
--- a/readline/sysdep-hpux.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* System-dependent stuff for HP/UX 10.20 on HPPA */
-
-#include <alloca.h>
-
-#include <dirent.h>
-typedef struct dirent dirent;
-
diff --git a/readline/sysdep-hpux11.h b/readline/sysdep-hpux11.h
deleted file mode 100644
index da8a864..0000000
--- 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 <alloca.h>
-#ifndef alloca /* May be a macro, with args. */
-extern char *alloca ();
-#endif
-#endif
-
-#include <sys/types.h> /* Needed by dirent.h */
-
-#if defined (USG) && defined (TIOCGWINSZ)
-#include <sys/stream.h>
-#if defined (USGr4) || defined (USGr3)
-#include <sys/ptem.h>
-#endif /* USGr4 */
-#endif /* USG && TIOCGWINSZ */
-
-#ifndef _WIN32
-#include <dirent.h>
-typedef struct dirent dirent;
-#endif
-
-/* SVR4 systems should use <termios.h> rather than <termio.h>. */
-
-#if defined (USGr4)
-#define _POSIX_VERSION
-#endif
-
-#if defined _WIN32 && !defined __GNUC__
-#include <malloc.h>
-#endif
diff --git a/readline/sysdep-irix.h b/readline/sysdep-irix.h
deleted file mode 100644
index e69de15..0000000
--- 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 <sys/types.h>
-#include <sys/stream.h>
-#include <sys/dir.h>
-typedef struct direct dirent;
diff --git a/readline/sysdep-linux.h b/readline/sysdep-linux.h
deleted file mode 100644
index 46ea5d4..0000000
--- 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 <alloca.h>
-#endif
-#ifndef alloca /* May be a macro, with args. */
-extern char *alloca ();
-#endif
-#endif
-
-#include <sys/types.h> /* Needed by dirent.h */
-#include <string.h>
-
-#include <dirent.h>
-typedef struct dirent dirent;
diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h
deleted file mode 100644
index 6cf1f34..0000000
--- 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 <alloca.h>
-#endif
-#ifndef alloca /* May be a macro, with args. */
-extern char *alloca ();
-#endif
-#endif
-
-#include <sys/types.h> /* Needed by dirent.h */
-
-#if defined (USG) && defined (TIOCGWINSZ)
-#include <sys/stream.h>
-#if defined (USGr4) || defined (USGr3)
-#include <sys/ptem.h>
-#endif /* USGr4 */
-#endif /* USG && TIOCGWINSZ */
-
-#ifndef _WIN32
-#include <dirent.h>
-typedef struct dirent dirent;
-#endif
-
-/* SVR4 systems should use <termios.h> rather than <termio.h>. */
-
-#if defined (USGr4)
-#define _POSIX_VERSION
-#endif
-
-#if defined _WIN32 && !defined __GNUC__
-#include <malloc.h>
-#endif
diff --git a/readline/sysdep-obsd.h b/readline/sysdep-obsd.h
deleted file mode 100644
index 88bcdd6..0000000
--- 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 <sys/types.h>
-#include <sys/dir.h>
-typedef struct direct dirent;
diff --git a/readline/sysdep-sco.h b/readline/sysdep-sco.h
deleted file mode 100644
index 31af763..0000000
--- a/readline/sysdep-sco.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* System-dependent stuff, for SCO systems */
-
-#include <malloc.h>
-
-#ifdef __GNUC__
-#define alloca __builtin_alloca
-#endif
-
-#include <sys/types.h>
-#include <sys/stream.h>
-#include <sys/ptem.h>
-#include <dirent.h>
-typedef struct dirent dirent;
diff --git a/readline/sysdep-sysv4.h b/readline/sysdep-sysv4.h
deleted file mode 100644
index 558492f..0000000
--- 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 <alloca.h>
-#endif
-#ifndef alloca /* May be a macro, with args. */
-extern char *alloca ();
-#endif
-#endif
-
-#include <sys/types.h> /* Needed by dirent.h */
-#include <sys/stream.h>
-#include <sys/ptem.h>
-#include <dirent.h>
-typedef struct dirent dirent;
-
-/* SVR4 systems should use <termios.h> rather than <termio.h>. */
-#define _POSIX_VERSION
-
-/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
- definition in <termios.h>, since it's unconditionally defined in
- <sys/ptem.h>. */
-#define _POSIX_SOURCE