[INTERPRETER]
* BUG: Dir() and RDir() on "" or "." should be fixed now. git-svn-id: svn://localhost/gambas/trunk@3028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
ec7e7e351f
commit
53560dd374
1 changed files with 2 additions and 2 deletions
|
@ -380,8 +380,8 @@ void ARCHIVE_dir_first(ARCHIVE *arch, const char *path, const char *pattern, int
|
|||
return;
|
||||
}
|
||||
|
||||
// "." means that we want to browse the archive.
|
||||
if (!find.sym && !(path[0] == '.' && path[1] == 0))
|
||||
// ?? "." means that we want to browse the archive.
|
||||
if (!find.sym && !find.arch) // && !(path[0] == '.' && path[1] == 0))
|
||||
{
|
||||
// By calling FILE_dir_first() again with an absolute path, we are sure that next calls to
|
||||
// FILE_dir_next() will never call ARCHIVE_dir_next().
|
||||
|
|
Loading…
Reference in a new issue