summaryrefslogtreecommitdiff
path: root/pathexp.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:04:15 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:04:15 -0500
commitb5fabbae5cded9747259fa0b154a5d0729899d62 (patch)
tree7bebcd6045bd9bf9c355418acb0a12331ac7168b /pathexp.c
parent6c72598ce0b82b6a31a2333fa709b4fab0761c3b (diff)
downloadbash-b5fabbae5cded9747259fa0b154a5d0729899d62.tar.gz
commit bash-20070301 snapshot
Diffstat (limited to 'pathexp.c')
-rw-r--r--pathexp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pathexp.c b/pathexp.c
index 998572f4..69966ac4 100644
--- a/pathexp.c
+++ b/pathexp.c
@@ -1,6 +1,6 @@
/* pathexp.c -- The shell interface to the globbing library. */
-/* Copyright (C) 1995-2002 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2007 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -110,6 +110,8 @@ unquoted_glob_pattern_p (string)
return (0);
}
+/* Return 1 if C is a character that is `special' in a POSIX ERE and needs to
+ be quoted to match itself. */
static inline int
ere_char (c)
int c;