~ubuntu-branches/ubuntu/trusty/grub2/trusty

« back to all changes in this revision

Viewing changes to grub-core/gnulib/fnmatch.in.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-01-16 15:18:04 UTC
  • mfrom: (17.6.38 experimental)
  • Revision ID: package-import@ubuntu.com-20140116151804-3foouk7fpqcq3sxx
Tags: 2.02~beta2-2
* Convert patch handling to git-dpm.
* Add bi-endian support to ELF parser (Tomohiro B Berry).
* Adjust restore_mkdevicemap.patch to mark get_kfreebsd_version as static,
  to appease "gcc -Werror=missing-prototypes".
* Cherry-pick from upstream:
  - Change grub-macbless' manual page section to 8.
* Install grub-glue-efi, grub-macbless, grub-render-label, and
  grub-syslinux2cfg.
* grub-shell: Pass -no-pad to xorriso when building floppy images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
2
 
   2005, 2007, 2009, 2010 Free Software Foundation, Inc.
 
1
/* Copyright (C) 1991-1993, 1996-1999, 2001-2003, 2005, 2007, 2009-2013 Free
 
2
   Software Foundation, Inc.
3
3
 
4
4
   This file is part of the GNU C Library.
5
5
 
14
14
   GNU General Public License for more details.
15
15
 
16
16
   You should have received a copy of the GNU General Public License
17
 
   along with this program; if not, write to the Free Software Foundation,
18
 
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
17
   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
19
18
 
20
19
#ifndef _FNMATCH_H
21
20
#define _FNMATCH_H      1
32
31
#undef  FNM_NOESCAPE
33
32
#undef  FNM_PERIOD
34
33
 
35
 
/* Bits set in the FLAGS argument to `fnmatch'.  */
36
 
#define FNM_PATHNAME    (1 << 0) /* No wildcard can ever match `/'.  */
 
34
/* Bits set in the FLAGS argument to 'fnmatch'.  */
 
35
#define FNM_PATHNAME    (1 << 0) /* No wildcard can ever match '/'.  */
37
36
#define FNM_NOESCAPE    (1 << 1) /* Backslashes don't quote special chars.  */
38
 
#define FNM_PERIOD      (1 << 2) /* Leading `.' is matched only explicitly.  */
 
37
#define FNM_PERIOD      (1 << 2) /* Leading '.' is matched only explicitly.  */
39
38
 
40
39
#if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 2 || defined _GNU_SOURCE
41
40
# define FNM_FILE_NAME   FNM_PATHNAME   /* Preferred GNU name.  */
42
 
# define FNM_LEADING_DIR (1 << 3)       /* Ignore `/...' after a match.  */
 
41
# define FNM_LEADING_DIR (1 << 3)       /* Ignore '/...' after a match.  */
43
42
# define FNM_CASEFOLD    (1 << 4)       /* Compare without regard to case.  */
44
43
# define FNM_EXTMATCH    (1 << 5)       /* Use ksh-like extended matching. */
45
44
#endif
46
45
 
47
 
/* Value returned by `fnmatch' if STRING does not match PATTERN.  */
 
46
/* Value returned by 'fnmatch' if STRING does not match PATTERN.  */
48
47
#define FNM_NOMATCH     1
49
48
 
50
49
/* This value is returned if the implementation does not support
51
 
   `fnmatch'.  Since this is not the case here it will never be
 
50
   'fnmatch'.  Since this is not the case here it will never be
52
51
   returned but the conformance test suites still require the symbol
53
52
   to be defined.  */
54
53
#ifdef _XOPEN_SOURCE