]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define GLOB_TILDE_CHECK.
authorUlrich Drepper <drepper@redhat.com>
Mon, 3 Aug 1998 18:40:42 +0000 (18:40 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 3 Aug 1998 18:40:42 +0000 (18:40 +0000)
posix/glob.h

index a15d8ef92f7a6711d8f4f1e5118ccee68068b4fa..1ea3c170008556e10a905f23f8e864d8fb595f26 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 95, 96, 97, 98 Free Software Foundation, Inc.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public License as
@@ -59,10 +59,12 @@ extern "C"
 # define GLOB_NOMAGIC   (1 << 11)/* If no magic chars, return the pattern.  */
 # define GLOB_TILDE     (1 << 12)/* Expand ~user and ~ to home directories. */
 # define GLOB_ONLYDIR   (1 << 13)/* Match only directories.  */
+# define GLOB_TILDE_CHECK (1 << 14)/* Like GLOB_TILDE but return an error
+                                     if the user name is not available.  */
 # define __GLOB_FLAGS  (GLOB_ERR|GLOB_MARK|GLOB_NOSORT|GLOB_DOOFFS| \
                         GLOB_NOESCAPE|GLOB_NOCHECK|GLOB_APPEND|     \
                         GLOB_PERIOD|GLOB_ALTDIRFUNC|GLOB_BRACE|     \
-                        GLOB_NOMAGIC|GLOB_TILDE|GLOB_ONLYDIR)
+                        GLOB_NOMAGIC|GLOB_TILDE|GLOB_ONLYDIR|GLOB_TILDE_CHECK)
 #else
 # define __GLOB_FLAGS  (GLOB_ERR|GLOB_MARK|GLOB_NOSORT|GLOB_DOOFFS| \
                         GLOB_NOESCAPE|GLOB_NOCHECK|GLOB_APPEND|     \