diff options
-rw-r--r-- | readline/ChangeLog | 10 | ||||
-rw-r--r-- | readline/Makefile.in | 2 | ||||
-rw-r--r-- | readline/readline.c | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog index 56cf39a..25f6a19 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,13 @@ +Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com) + + * Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to + USG to match current usage. + + * readline.c: Add USGr4 to list of defined things to check for + to use <dirent.h> style directory access. + + * config/hm-svr4: New file for System V Release 4 (USGr4). + Mon Nov 18 23:59:52 1991 Stu Grossman (grossman at cygnus.com) * readline.c (filename_completion_function): use struct dirent diff --git a/readline/Makefile.in b/readline/Makefile.in index 2bf3b20..a3e16d7 100644 --- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -39,7 +39,7 @@ READLINE_DEFINES = $(TYPES) -DVI_MODE MINUS_G=-g DEBUG_FLAGS = $(MINUS_G) LDFLAGS = $(DEBUG_FLAGS) -CFLAGS = $(DEBUG_FLAGS) $(SYSV) -I. +CFLAGS = $(DEBUG_FLAGS) $(USG) -I. # A good alternative is gcc -traditional. #CC = gcc -traditional diff --git a/readline/readline.c b/readline/readline.c index f4ae40e..817ef97 100644 --- a/readline/readline.c +++ b/readline/readline.c @@ -119,7 +119,7 @@ struct passwd *getpwuid (), *getpwent (); /* #define HACK_TERMCAP_MOTION */ -#if defined (_POSIX_VERSION) || defined (USGr3) +#if defined (_POSIX_VERSION) || defined (USGr3) || defined (USGr4) # include <dirent.h> # define direct dirent # if defined (_POSIX_VERSION) |