diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-02-14 19:52:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-02-14 19:52:38 +0000 |
commit | 05f135ba3b85e0bf2449df6a678f001453d975ce (patch) | |
tree | 5f531106f88278f165d2e58e7985ccf639775fc8 /io | |
parent | 2f69996772e39953951a3c5d8df885c775601060 (diff) | |
download | glibc-05f135ba3b85e0bf2449df6a678f001453d975ce.tar.gz glibc-05f135ba3b85e0bf2449df6a678f001453d975ce.tar.xz glibc-05f135ba3b85e0bf2449df6a678f001453d975ce.zip |
[BZ #3996]
2007-02-14 Jakub Jelinek <jakub@redhat.com> [BZ #3996] * posix/glob.c (attribute_hidden): Define if not defined. (glob): Unescape dirname, filename or username when needed and not GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename is NULL. Handle unescaped [ in pattern without closing ]. Don't pass GLOB_CHECK down to recursive glob for directories. (__glob_pattern_type): New function. (__glob_pattern_p): Implement using __glob_pattern_type. (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta characters and backslashes if not GLOB_NOESCAPE or unterminated [. Remove unreachable code. * posix/globtest.sh: Add a couple of new tests.
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions