diff options
| author | Magnus Hagander | 2008-12-02 10:39:31 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2008-12-02 10:39:31 +0000 |
| commit | 2c69fa0c388ccff1048749be06c7c522f23d4659 (patch) | |
| tree | 7475753c2704ee2649d0c21db8858483e7a9074c /src/include | |
| parent | c98c9114cb3bff8a493333ef48d16eb55601af54 (diff) | |
Change wildcard cerfificate mapping to be much simler - we now only match
the * character at the beginning of a pattern, and it does not match
subdomains.
Since this means we no longer need fnmatch, remove the imported implementation
from port, along with the autoconf check for it.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/fnmatchstub.h | 27 | ||||
| -rw-r--r-- | src/include/pg_config.h.in | 3 |
2 files changed, 0 insertions, 30 deletions
diff --git a/src/include/fnmatchstub.h b/src/include/fnmatchstub.h deleted file mode 100644 index fb23d8f98c..0000000000 --- a/src/include/fnmatchstub.h +++ /dev/null @@ -1,27 +0,0 @@ -/*------------------------------------------------------------------------- - * - * fnmatchstub.h - * Stubs for fnmatch() in port/fnmatch.c - * - * - * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * $PostgreSQL: pgsql/src/include/fnmatchstub.h,v 1.1 2008/11/24 09:15:16 mha Exp $ - * - *------------------------------------------------------------------------- - */ -#ifndef FNMATCHSTUB_H -#define FNMATCHSTUB_H - -extern int fnmatch(const char *, const char *, int); -#define FNM_NOMATCH 1 /* Match failed. */ -#define FNM_NOSYS 2 /* Function not implemented. */ -#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ -#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ -#define FNM_PERIOD 0x04 /* Period must be matched by period. */ -#define FNM_CASEFOLD 0x08 /* Pattern is matched case-insensitive */ -#define FNM_LEADING_DIR 0x10 /* Ignore /<tail> after Imatch. */ - - -#endif diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 1064d15526..9f6f21bf81 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -143,9 +143,6 @@ /* Define to 1 if you have the `fdatasync' function. */ #undef HAVE_FDATASYNC -/* Define to 1 if your system has a working POSIX `fnmatch' function. */ -#undef HAVE_FNMATCH - /* Define to 1 if you have the `fpclass' function. */ #undef HAVE_FPCLASS |
