Andrey A. Chernov f4d4982ea6 1) POSIX defines well when GLOB_ABORTED can be returned (only for directory
open/read errors and with GLOB_ERR and gl_errfunc processing), so we can't
blindly return it on any MAXPATHLEN overflow. Even our manpage disagrees
with such GLOB_ABORTED usage. Use GLOB_NOSPACE for that now with errno is
set to 0 as for limits.

2) Return GLOB_NOSPACE when valid ~ expansion can't happens due to
MAXPATHLEN overflow too.

3) POSIX (and our manpage) says, if GLOB_ERR is set, GLOB_ABORTED should
be returned immediatelly, without using gl_errfunc. Implement it now.
2016-07-18 16:06:21 +00:00
..
2016-05-31 18:32:57 +00:00
2016-04-30 01:24:24 +00:00
2016-06-08 23:30:13 +00:00
2016-04-30 01:24:24 +00:00
2016-04-30 01:24:24 +00:00
2016-05-06 16:03:40 +00:00