Integrate changes #9678,9679 from maintline into mainperl.
[p5sagit/p5-mst-13.2.git] / ext / File / Glob / bsd_glob.h
index 410b007..af92c04 100644 (file)
@@ -30,6 +30,7 @@
  * SUCH DAMAGE.
  *
  *     @(#)glob.h      8.1 (Berkeley) 6/2/93
+ *     [lots of perl-specific changes since then--see bsd_glob.c]
  */
 
 #ifndef _BSD_GLOB_H_
@@ -71,6 +72,10 @@ typedef struct {
 #define        GLOB_NOMAGIC    0x0200  /* GLOB_NOCHECK without magic chars (csh). */
 #define        GLOB_QUOTE      0x0400  /* Quote special chars with \. */
 #define        GLOB_TILDE      0x0800  /* Expand tilde names from the passwd file. */
+#define        GLOB_NOCASE     0x1000  /* Treat filenames without regard for case. */
+#define        GLOB_ALPHASORT  0x2000  /* Alphabetic, not ASCII sort, like csh. */
+#define        GLOB_LIMIT      0x4000  /* Limit pattern match output to ARG_MAX
+                                  (usually from limits.h). */
 
 #define        GLOB_NOSPACE    (-1)    /* Malloc call failed. */
 #define        GLOB_ABEND      (-2)    /* Unignored error. */