diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-03-06 13:15:16 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-03-06 13:15:16 +0000 |
commit | d1e6d2178d0b242c9ad40f77216f2f0cae57b97a (patch) | |
tree | e7627c83e7bf547bb0e46e9ee5ddd43deb0f95ed /hurd/hurdlookup.c | |
parent | 5cde8cb0286079d731f933b65240528c150dedaa (diff) |
Updated to fedora-glibc-20060306T1239cvs/fedora-glibc-2_4-1
Diffstat (limited to 'hurd/hurdlookup.c')
-rw-r--r-- | hurd/hurdlookup.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c index 77de27150a..8270132b90 100644 --- a/hurd/hurdlookup.c +++ b/hurd/hurdlookup.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,93,94,95,96,97,99,2001,2004 +/* Copyright (C) 1992,1993,1994,1995,1996,1997,1999,2001,2004,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -184,19 +184,7 @@ __hurd_directory_name_split (error_t (*use_init_port) --lastslash; /* Find the last one earlier in the string, before the trailing ones. */ -#if __GLIBC__ > 2 || __GLIBC_MINOR__ >= 2 lastslash = __memrchr (file_name, '/', lastslash - file_name); -#else - /* Keep backing up, looking for a slash. */ - do - if (lastslash == file_name) - { - /* Hit the start with no slash. */ - lastslash = NULL; - break; - } - while (*lastslash-- != '/'); -#endif } if (lastslash != NULL) |