aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-07 22:09:38 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-07 22:09:38 +0000
commit64ba41bcc699bd6b11ce4cefc3c65349da6f43db (patch)
tree8e994294064b64ce0782bdb3ef86bbcbe089c2f6 /posix
parent659a9013d4f4bb7012bfd736bae2c9e04581c27e (diff)
downloadglibc-64ba41bcc699bd6b11ce4cefc3c65349da6f43db.zip
glibc-64ba41bcc699bd6b11ce4cefc3c65349da6f43db.tar.gz
glibc-64ba41bcc699bd6b11ce4cefc3c65349da6f43db.tar.bz2
[BZ #73]
2007-10-07 Ulrich Drepper <drepper@redhat.com> [BZ #73] * locales/nb_NO: Update time information, collation, thousands separator. * locales/nn_NO: Likewise.
Diffstat (limited to 'posix')
-rw-r--r--posix/glob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/glob.c b/posix/glob.c
index 6ae09ef..d6a1a4a 100644
--- a/posix/glob.c
+++ b/posix/glob.c
@@ -455,7 +455,8 @@ glob (pattern, flags, errfunc, pglob)
}
}
else if (filename == pattern
- || (filename == pattern + 1 && pattern[0] == '\\'))
+ || (filename == pattern + 1 && pattern[0] == '\\'
+ && (flags & GLOB_NOESCAPE) == 0))
{
/* "/pattern" or "\\/pattern". */
dirname = "/";