* Makefile.in (VPATH): Add regex directory.
(NM): new variable. (OBSOLETE_FUNCTIONS): Ditto. (NEW_FUNCTIONS): Ditto. (install-headers): Install regex.h. (install-man): New target. (install): Use new target. (DLL_OFILES): Add v8_reg* stuff. (new-cygwin1.dll): Eliminate stamp-cygwin-lib creation. (libcygwin.a): Remove obsolete functions from import lib. Add new functions. * configure.in: Detect 'nm' tool. * configure: Regenerate. * cygwin.din: Export posix_reg* functions. Eliminate export of v8 reg* functions. This is now handled in object files themselves. * regex/*: New files. * regexp/v8_*.c: New files, renamed from non v8_ equivalents.
This commit is contained in:
@@ -12,7 +12,7 @@ details. */
|
||||
#include "regexp.h"
|
||||
#include <stdio.h>
|
||||
|
||||
void
|
||||
void __declspec(dllexport)
|
||||
regerror(const char *s __attribute__ ((unused)))
|
||||
{
|
||||
#ifdef ERRAVAIL
|
@@ -204,7 +204,7 @@ STATIC int strcspn (char *, char *);
|
||||
* Beware that the optimization-preparation code in here knows about some
|
||||
* of the structure of the compiled regexp.
|
||||
*/
|
||||
regexp *
|
||||
regexp * __declspec(dllexport)
|
||||
regcomp(exp)
|
||||
const char *exp;
|
||||
{
|
||||
@@ -788,7 +788,7 @@ STATIC char *regprop __P((char *));
|
||||
/*
|
||||
- regexec - match a regexp against a string
|
||||
*/
|
||||
int
|
||||
int __declspec(dllexport)
|
||||
regexec(prog, string)
|
||||
register const regexp *prog;
|
||||
register const char *string;
|
@@ -25,6 +25,7 @@ static char *rcsid = "$Id$";
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
|
||||
#include "winsup.h"
|
||||
#include "regexp.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -39,7 +40,7 @@ static char *rcsid = "$Id$";
|
||||
/*
|
||||
- regsub - perform substitutions after a regexp match
|
||||
*/
|
||||
void
|
||||
void __declspec(dllexport)
|
||||
regsub(prog, source, dest)
|
||||
const regexp *prog;
|
||||
const char *source;
|
Reference in New Issue
Block a user