diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-14 20:11:44 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-14 20:11:44 (GMT) |
commit | 6c368af5b4e68c05c8774ea5795b708aca9d0d66 (patch) | |
tree | 85f99014c1d7d312006d95d6dc37f9bf1ab47b8e /patches/glibc/2.1.3/rh62-08-glibc-2.1.3-glob.patch | |
parent | ab0fc7eab41d6e253549dbc63431f9ba153a0418 (diff) |
Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
- remove associated patches no longer needed,
- mark then as (OBSOLETE) in the prompt;
Diffstat (limited to 'patches/glibc/2.1.3/rh62-08-glibc-2.1.3-glob.patch')
-rw-r--r-- | patches/glibc/2.1.3/rh62-08-glibc-2.1.3-glob.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/patches/glibc/2.1.3/rh62-08-glibc-2.1.3-glob.patch b/patches/glibc/2.1.3/rh62-08-glibc-2.1.3-glob.patch deleted file mode 100644 index cdd4c0b..0000000 --- a/patches/glibc/2.1.3/rh62-08-glibc-2.1.3-glob.patch +++ /dev/null @@ -1,57 +0,0 @@ -2001-11-29 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces - don't match, fix {{a,b},c} globbing, clean up. - Patch by Flavio Veloso <flaviovs@magnux.com>. - ---- libc/sysdeps/generic/glob.c.jj Thu Aug 23 18:49:29 2001 -+++ libc/sysdeps/generic/glob.c Thu Nov 29 13:17:21 2001 -@@ -355,42 +355,14 @@ static - inline - #endif - const char * --next_brace_sub (begin) -- const char *begin; -+next_brace_sub (cp) -+ const char *cp; - { - unsigned int depth = 0; -- const char *cp = begin; -- -- while (1) -- { -- if (depth == 0) -- { -- if (*cp != ',' && *cp != '}' && *cp != '\0') -- { -- if (*cp == '{') -- ++depth; -- ++cp; -- continue; -- } -- } -- else -- { -- while (*cp != '\0' && (*cp != '}' || depth > 0)) -- { -- if (*cp == '}') -- --depth; -- ++cp; -- } -- if (*cp == '\0') -- /* An incorrectly terminated brace expression. */ -- return NULL; -- -- continue; -- } -- break; -- } -- -- return cp; -+ while (*cp != '\0' && (*cp != '}' || depth--) && (*cp != ',' || depth)) -+ if (*cp++ == '{') -+ depth++; -+ return *cp != '\0' ? cp : NULL; - } - - #endif /* !GLOB_ONLY_P */ |