glibc/posix
Ulrich Drepper 05f135ba3b [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.
2007-02-14 19:52:38 +00:00
..
bits * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not 2006-08-24 06:48:22 +00:00
glob
rxspencer * posix/regcomp.c (lower_subexp): Do not optimize empty 2005-02-22 05:07:20 +00:00
sys * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t): 2006-02-28 19:11:33 +00:00
_exit.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
.cvsignore
alarm.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
annexc.c
BOOST.tests
bsd-getpgrp.c
bug-ga1.c
bug-ga2.c
bug-glob1.c
bug-glob2.c
bug-regex1.c
bug-regex2.c
bug-regex3.c
bug-regex4.c
bug-regex5.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
bug-regex6.c
bug-regex7.c
bug-regex8.c
bug-regex9.c
bug-regex10.c
bug-regex11.c
bug-regex12.c
bug-regex13.c
bug-regex14.c
bug-regex15.c
bug-regex16.c
bug-regex17.c
bug-regex18.c
bug-regex19.c [BZ #693] 2005-01-26 19:56:03 +00:00
bug-regex20.c
bug-regex21.c
bug-regex22.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
bug-regex23.c
bug-regex24.c
bug-regex25.c * posix/regex_internal.c (re_string_skip_chars): If no character has 2006-06-04 04:59:36 +00:00
bug-regex26.c [BZ #3155] 2006-09-07 13:50:31 +00:00
bug-regex27.c [BZ #3957] 2007-02-05 15:23:55 +00:00
bug-regex28.c [BZ #3957] 2007-02-05 15:23:55 +00:00
confstr.c
cpio.h
Depend
environ.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
execl.c * configure.in: Remove gnu_ld definition and everything using it. 2005-11-06 02:06:06 +00:00
execle.c
execlp.c
execv.c * configure.in: Remove gnu_ld definition and everything using it. 2005-11-06 02:06:06 +00:00
execve.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
execvp.c * posix/execvp.c: Include alloca.h. 2007-01-03 23:02:17 +00:00
fexecve.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fnmatch_loop.c [BZ #368] 2005-10-14 22:56:25 +00:00
fnmatch.c (fnmatch): For short patterns or strings attempt to avoid calling mbsrtowcs twice. 2005-03-30 04:17:47 +00:00
fnmatch.h
fork.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fpathconf.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
gai_strerror.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
gai.conf * sysdeps/posix/getaddrinfo.c: Add unique labels to the default 2006-05-18 16:58:36 +00:00
get_child_max.c [BZ #1535] 2006-01-08 09:39:29 +00:00
getaddrinfo.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getconf.c . 2007-07-31 13:33:18 +00:00
getegid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
geteuid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getgroups.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getlogin_r.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getlogin.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getopt1.c
getopt_init.c
getopt_int.h
getopt.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
getopt.h
getpgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getpgrp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getpid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getppid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getresgid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
getresuid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
getsid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getuid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
glob64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
glob.c [BZ #3996] 2007-02-14 19:52:38 +00:00
glob.h
globtest.c
globtest.sh [BZ #3996] 2007-02-14 19:52:38 +00:00
group_member.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
init-posix.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
Makefile [BZ #3957] 2007-02-05 15:23:55 +00:00
nanosleep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pathconf.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pause.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
PCRE.tests
posix_madvise.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pread64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pread.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ptestcases.h
PTESTS
PTESTS2C.sed
pwrite64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pwrite.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
re_comp.h
regcomp.c [BZ #3957] 2007-02-05 15:23:55 +00:00
regex_internal.c [BZ #3155] 2006-09-07 13:50:31 +00:00
regex_internal.h * posix/regex_internal.h: Include <stdint.h> if available. 2005-12-11 05:59:13 +00:00
regex.c * posix/regex_internal.h (re_sub_match_top_t): Remove unused member 2005-09-06 21:15:13 +00:00
regex.h [BZ #1201] 2006-05-02 21:55:00 +00:00
regexbug1.c
regexec.c * posix/regexec.c: Finish prototyping of static functions. 2005-10-15 15:23:33 +00:00
runptests.c
runtests.c
sched_getaffinity.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_getp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_gets.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_primax.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_primin.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_rr_gi.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_setaffinity.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_setp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_sets.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_yield.c * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation 2006-02-23 22:34:40 +00:00
sched.h
setgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setlogin.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setpgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setpgrp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setresgid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
setresuid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
setsid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setuid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sleep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
spawn_faction_addclose.c
spawn_faction_adddup2.c
spawn_faction_addopen.c
spawn_faction_destroy.c
spawn_faction_init.c
spawn_int.h
spawn.c
spawn.h
spawnattr_destroy.c
spawnattr_getdefault.c
spawnattr_getflags.c
spawnattr_getpgroup.c
spawnattr_getschedparam.c
spawnattr_getschedpolicy.c
spawnattr_getsigmask.c
spawnattr_init.c
spawnattr_setdefault.c
spawnattr_setflags.c
spawnattr_setpgroup.c
spawnattr_setschedparam.c
spawnattr_setschedpolicy.c
spawnattr_setsigmask.c
spawni.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
spawnp.c
sysconf.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
tar.h
test-vfork.c
testcases.h
testfnm.c
TESTS
TESTS2C.sed
times.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
transbug.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
tst-boost.c
tst-chmod.c
tst-dir.c
tst-exec.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-execl1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execl2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execle1.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execle2.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execlp1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execlp2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execvp1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execvp2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execvp3.c * posix/execvp.c (execvp): Use file name including path when 2005-04-14 21:20:51 +00:00
tst-execvp4.c [BZ #1125] 2005-07-24 21:41:49 +00:00
tst-fnmatch.c
tst-fnmatch.input
tst-fork.c
tst-getaddrinfo2.c
tst-getaddrinfo3.c * posix/Makefile (tests): Add tst-getaddrinfo3. 2006-04-30 20:19:09 +00:00
tst-getaddrinfo.c
tst-getconf.sh
tst-getlogin.c
tst-gnuglob.c
tst-mmap.c [BZ #959] 2005-06-03 20:37:25 +00:00
tst-nanosleep.c
tst-nice.c
tst-pcre.c
tst-preadwrite64.c
tst-preadwrite.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-regex2.c
tst-regex.c
tst-regexloc.c
tst-rfc3484-2.c * sysdeps/posix/getaddrinfo.c: Implement configuration file 2006-05-04 06:38:07 +00:00
tst-rfc3484.c * sysdeps/posix/getaddrinfo.c: Implement configuration file 2006-05-04 06:38:07 +00:00
tst-rxspencer.c [BZ #693] 2005-01-26 19:56:03 +00:00
tst-spawn.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-sysconf.c
tst-truncate64.c
tst-truncate.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-vfork1.c
tst-vfork2.c
tst-vfork3.c * posix/execvp.c: Include alloca.h. 2007-01-03 23:02:17 +00:00
tst-waitid.c
tstgetopt.c
uname.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
unistd.h . 2007-07-31 13:33:18 +00:00
Versions
vfork.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait3.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait4.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait.h
waitid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
waitpid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wordexp-test.c
wordexp-tst.sh
wordexp.c * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. 2007-01-25 00:45:00 +00:00
wordexp.h