Browse Source

#define GLOB_ABEND to GLOB_ABORTED for backwards compat. Noted by Theo.

OPENBSD_2_2
millert 27 years ago
parent
commit
55f2ba9f94
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/glob.h

+ 2
- 1
src/include/glob.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: glob.h,v 1.2 1997/09/01 18:40:35 millert Exp $ */
/* $OpenBSD: glob.h,v 1.3 1997/09/01 18:44:23 millert Exp $ */
/* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */ /* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */
/* /*
@ -88,6 +88,7 @@ typedef struct {
#define GLOB_ABORTED (-2) /* Unignored error. */ #define GLOB_ABORTED (-2) /* Unignored error. */
#define GLOB_NOMATCH (-3) /* No match and GLOB_NOCHECK not set. */ #define GLOB_NOMATCH (-3) /* No match and GLOB_NOCHECK not set. */
#define GLOB_NOSYS (-4) /* Function not supported. */ #define GLOB_NOSYS (-4) /* Function not supported. */
#define GLOB_ABEND GLOB_ABORTED
__BEGIN_DECLS __BEGIN_DECLS
int glob __P((const char *, int, int (*)(const char *, int), glob_t *)); int glob __P((const char *, int, int (*)(const char *, int), glob_t *));


Loading…
Cancel
Save