ache ab300f6ea9 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
..
2012-08-11 12:07:24 +00:00
2011-10-01 12:19:48 +00:00
2011-10-01 12:19:48 +00:00
2016-02-19 06:50:00 +00:00
2015-09-20 20:21:49 +00:00
2013-08-18 13:25:18 +00:00
2015-09-20 20:21:49 +00:00
2012-04-26 19:21:58 +00:00
2016-04-10 19:33:58 +00:00
2011-05-25 14:13:53 +00:00
2015-09-20 20:21:49 +00:00
2015-02-15 21:11:07 +00:00
2016-05-25 06:55:53 +00:00
2015-09-14 18:44:13 +00:00
2015-04-26 10:29:43 +00:00
2015-12-20 11:55:39 +00:00
2015-04-26 10:56:06 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2015-04-26 10:52:37 +00:00
2011-02-04 16:40:50 +00:00
2015-09-20 20:21:49 +00:00
2013-04-23 13:03:03 +00:00
2012-12-12 15:27:33 +00:00
2015-02-17 16:01:00 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00