diff options
| author | Gerd Moellmann | 2001-02-16 09:55:39 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-02-16 09:55:39 +0000 |
| commit | 76846b315db4183c4aeae6fd7be5223290700010 (patch) | |
| tree | 5cd2222a95745c6ead86ba15de8103ec9158fce5 /src | |
| parent | 713f7b15b055e2da63cff72be48796c9dcafb198 (diff) | |
| download | emacs-76846b315db4183c4aeae6fd7be5223290700010.tar.gz emacs-76846b315db4183c4aeae6fd7be5223290700010.zip | |
(directory_files_internal): Set result list to nil
before retrying.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/dired.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c5cd6b41628..8dc06f2f314 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-02-16 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * dired.c (directory_files_internal): Set result list to nil | ||
| 4 | before retrying. | ||
| 5 | |||
| 1 | 2001-02-15 Kenichi Handa <handa@etl.go.jp> | 6 | 2001-02-15 Kenichi Handa <handa@etl.go.jp> |
| 2 | 7 | ||
| 3 | * ccl.c (ccl_driver) [CCL_ReadMultibyteChar2]: If SRC points an | 8 | * ccl.c (ccl_driver) [CCL_ReadMultibyteChar2]: If SRC points an |
diff --git a/src/dired.c b/src/dired.c index f3f13534a87..ce2e5cb95b2 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -312,7 +312,10 @@ directory_files_internal (directory, full, match, nosort, attrs) | |||
| 312 | specpdl_ptr = specpdl + count; | 312 | specpdl_ptr = specpdl + count; |
| 313 | 313 | ||
| 314 | if (retry_p) | 314 | if (retry_p) |
| 315 | goto retry; | 315 | { |
| 316 | list = Qnil; | ||
| 317 | goto retry; | ||
| 318 | } | ||
| 316 | 319 | ||
| 317 | if (NILP (nosort)) | 320 | if (NILP (nosort)) |
| 318 | list = Fsort (Fnreverse (list), | 321 | list = Fsort (Fnreverse (list), |