From 369d8a8fd5e887eca547bf34bccfdf755c9e5397 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 17 Feb 2000 19:38:31 +0000 Subject: import winsup-2000-02-17 snapshot --- winsup/cygwin/regexp/regerror.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 winsup/cygwin/regexp/regerror.c (limited to 'winsup/cygwin/regexp/regerror.c') diff --git a/winsup/cygwin/regexp/regerror.c b/winsup/cygwin/regexp/regerror.c new file mode 100644 index 000000000..ab6954e08 --- /dev/null +++ b/winsup/cygwin/regexp/regerror.c @@ -0,0 +1,24 @@ +#if 0 +#ifndef lint +static char *rcsid = "$Id$"; +#endif /* not lint */ +#endif + +#include "regexp.h" +#include + +void +regerror(s) +const char *s; +{ +#ifdef ERRAVAIL + error("regexp: %s", s); +#else +/* + fprintf(stderr, "regexp(3): %s\n", s); + exit(1); +*/ + return; /* let std. egrep handle errors */ +#endif + /* NOTREACHED */ +} -- cgit v1.2.3