* readline.c (filename_completion_function): use struct dirent
authorStu Grossman <grossman@cygnus>
Tue, 19 Nov 1991 08:02:35 +0000 (08:02 +0000)
committerStu Grossman <grossman@cygnus>
Tue, 19 Nov 1991 08:02:35 +0000 (08:02 +0000)
instead of struct direct.

readline/ChangeLog
readline/readline.c

index 81fe3d5..56cf39a 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 18 23:59:52 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * readline.c (filename_completion_function):  use struct dirent
+       instead of struct direct.
+
 Fri Nov  1 07:02:13 1991  Brian Fox  (bfox at gnuwest.fsf.org)
 
        * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
index 023407d..f4ae40e 100644 (file)
@@ -5137,7 +5137,7 @@ filename_completion_function (text, state)
   static char *users_dirname = (char *)NULL;
   static int filename_len;
 
-  struct direct *entry = (struct direct *)NULL;
+  struct dirent *entry = (struct dirent *)NULL;
 
   /* If we don't have any state, then do some initialization. */
   if (!state)