import winsup-2000-02-17 snapshot
This commit is contained in:
24
winsup/cygwin/regexp/regerror.c
Normal file
24
winsup/cygwin/regexp/regerror.c
Normal file
@ -0,0 +1,24 @@
|
||||
#if 0
|
||||
#ifndef lint
|
||||
static char *rcsid = "$Id$";
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
|
||||
#include "regexp.h"
|
||||
#include <stdio.h>
|
||||
|
||||
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 */
|
||||
}
|
Reference in New Issue
Block a user