(glob): If calling glob_in_dir for a list which was generated by
authordrepper <drepper>
Fri, 31 Oct 1997 22:46:32 +0000 (22:46 +0000)
committerdrepper <drepper>
Fri, 31 Oct 1997 22:46:32 +0000 (22:46 +0000)
commitc063054c835e97ca24ea3a89c82a7ba7ee618504
tree02f3838639cf0cdb1d21aa8221023273c73cfe0d
parent0880ad98078c9acb53145c83d3ffbb5deaff42f1
(glob): If calling glob_in_dir for a list which was generated by
a glob call disable GLOB_ERR since there might be non-directories
in the list.
Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined.
(glob): Add GLOB_ONLYDIR to recursive call to match dirname.
(glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test
whether they are directories if GLOB_ONLYDIR flag is given.
posix/glob.c