changeset 36106:809b31e54e13

(directory_files_internal): Set result list to nil before retrying.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 16 Feb 2001 09:55:11 +0000
parents 595ee2f062cf
children 0753236835ff
files src/dired.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dired.c	Thu Feb 15 21:08:24 2001 +0000
+++ b/src/dired.c	Fri Feb 16 09:55:11 2001 +0000
@@ -312,7 +312,10 @@
   specpdl_ptr = specpdl + count;
 
   if (retry_p)
-    goto retry;
+    {
+      list = Qnil;
+      goto retry;
+    }
 
   if (NILP (nosort))
     list = Fsort (Fnreverse (list),