head 1.13; access; symbols netbsd-10-0-RELEASE:1.13 netbsd-10-0-RC6:1.13 netbsd-10-0-RC5:1.13 netbsd-10-0-RC4:1.13 netbsd-10-0-RC3:1.13 netbsd-10-0-RC2:1.13 netbsd-10-0-RC1:1.13 netbsd-10:1.13.0.54 netbsd-10-base:1.13 netbsd-9-3-RELEASE:1.13 cjep_sun2x-base1:1.13 cjep_sun2x:1.13.0.52 cjep_sun2x-base:1.13 cjep_staticlib_x-base1:1.13 netbsd-9-2-RELEASE:1.13 cjep_staticlib_x:1.13.0.50 cjep_staticlib_x-base:1.13 netbsd-9-1-RELEASE:1.13 phil-wifi-20200421:1.13 phil-wifi-20200411:1.13 is-mlppp:1.13.0.48 is-mlppp-base:1.13 phil-wifi-20200406:1.13 netbsd-8-2-RELEASE:1.13 netbsd-9-0-RELEASE:1.13 netbsd-9-0-RC2:1.13 netbsd-9-0-RC1:1.13 phil-wifi-20191119:1.13 netbsd-9:1.13.0.46 netbsd-9-base:1.13 phil-wifi-20190609:1.13 netbsd-8-1-RELEASE:1.13 netbsd-8-1-RC1:1.13 pgoyette-compat-merge-20190127:1.13 pgoyette-compat-20190127:1.13 pgoyette-compat-20190118:1.13 pgoyette-compat-1226:1.13 pgoyette-compat-1126:1.13 pgoyette-compat-1020:1.13 pgoyette-compat-0930:1.13 pgoyette-compat-0906:1.13 netbsd-7-2-RELEASE:1.13 pgoyette-compat-0728:1.13 netbsd-8-0-RELEASE:1.13 phil-wifi:1.13.0.44 phil-wifi-base:1.13 pgoyette-compat-0625:1.13 netbsd-8-0-RC2:1.13 pgoyette-compat-0521:1.13 pgoyette-compat-0502:1.13 pgoyette-compat-0422:1.13 netbsd-8-0-RC1:1.13 pgoyette-compat-0415:1.13 pgoyette-compat-0407:1.13 pgoyette-compat-0330:1.13 pgoyette-compat-0322:1.13 pgoyette-compat-0315:1.13 netbsd-7-1-2-RELEASE:1.13 pgoyette-compat:1.13.0.42 pgoyette-compat-base:1.13 netbsd-7-1-1-RELEASE:1.13 matt-nb8-mediatek:1.13.0.40 matt-nb8-mediatek-base:1.13 perseant-stdc-iso10646:1.13.0.38 perseant-stdc-iso10646-base:1.13 netbsd-8:1.13.0.36 netbsd-8-base:1.13 prg-localcount2-base3:1.13 prg-localcount2-base2:1.13 prg-localcount2-base1:1.13 prg-localcount2:1.13.0.34 prg-localcount2-base:1.13 pgoyette-localcount-20170426:1.13 bouyer-socketcan-base1:1.13 pgoyette-localcount-20170320:1.13 netbsd-7-1:1.13.0.32 netbsd-7-1-RELEASE:1.13 netbsd-7-1-RC2:1.13 netbsd-7-nhusb-base-20170116:1.13 bouyer-socketcan:1.13.0.30 bouyer-socketcan-base:1.13 pgoyette-localcount-20170107:1.13 netbsd-7-1-RC1:1.13 pgoyette-localcount-20161104:1.13 netbsd-7-0-2-RELEASE:1.13 localcount-20160914:1.13 netbsd-7-nhusb:1.13.0.28 netbsd-7-nhusb-base:1.13 pgoyette-localcount-20160806:1.13 pgoyette-localcount-20160726:1.13 pgoyette-localcount:1.13.0.26 pgoyette-localcount-base:1.13 netbsd-7-0-1-RELEASE:1.13 netbsd-7-0:1.13.0.24 netbsd-7-0-RELEASE:1.13 netbsd-7-0-RC3:1.13 netbsd-7-0-RC2:1.13 netbsd-7-0-RC1:1.13 netbsd-5-2-3-RELEASE:1.12 netbsd-5-1-5-RELEASE:1.12 netbsd-6-0-6-RELEASE:1.13 netbsd-6-1-5-RELEASE:1.13 netbsd-7:1.13.0.22 netbsd-7-base:1.13 yamt-pagecache-base9:1.13 yamt-pagecache-tag8:1.13 netbsd-6-1-4-RELEASE:1.13 netbsd-6-0-5-RELEASE:1.13 tls-earlyentropy:1.13.0.20 tls-earlyentropy-base:1.13 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13 riastradh-drm2-base3:1.13 netbsd-6-1-3-RELEASE:1.13 netbsd-6-0-4-RELEASE:1.13 netbsd-5-2-2-RELEASE:1.12 netbsd-5-1-4-RELEASE:1.12 netbsd-6-1-2-RELEASE:1.13 netbsd-6-0-3-RELEASE:1.13 netbsd-5-2-1-RELEASE:1.12 netbsd-5-1-3-RELEASE:1.12 netbsd-6-1-1-RELEASE:1.13 riastradh-drm2-base2:1.13 riastradh-drm2-base1:1.13 riastradh-drm2:1.13.0.14 riastradh-drm2-base:1.13 netbsd-6-1:1.13.0.18 netbsd-6-0-2-RELEASE:1.13 netbsd-6-1-RELEASE:1.13 netbsd-6-1-RC4:1.13 netbsd-6-1-RC3:1.13 agc-symver:1.13.0.16 agc-symver-base:1.13 netbsd-6-1-RC2:1.13 netbsd-6-1-RC1:1.13 yamt-pagecache-base8:1.13 netbsd-5-2:1.12.0.52 netbsd-6-0-1-RELEASE:1.13 yamt-pagecache-base7:1.13 netbsd-5-2-RELEASE:1.12 netbsd-5-2-RC1:1.12 matt-nb6-plus-nbase:1.13 yamt-pagecache-base6:1.13 netbsd-6-0:1.13.0.12 netbsd-6-0-RELEASE:1.13 netbsd-6-0-RC2:1.13 tls-maxphys:1.13.0.10 tls-maxphys-base:1.13 matt-nb6-plus:1.13.0.8 matt-nb6-plus-base:1.13 netbsd-6-0-RC1:1.13 yamt-pagecache-base5:1.13 yamt-pagecache-base4:1.13 netbsd-6:1.13.0.6 netbsd-6-base:1.13 netbsd-5-1-2-RELEASE:1.12 netbsd-5-1-1-RELEASE:1.12 yamt-pagecache-base3:1.13 yamt-pagecache-base2:1.13 yamt-pagecache:1.13.0.4 yamt-pagecache-base:1.13 cherry-xenmp:1.13.0.2 cherry-xenmp-base:1.13 uebayasi-xip-base7:1.13 bouyer-quota2-nbase:1.13 bouyer-quota2:1.12.0.50 bouyer-quota2-base:1.13 matt-mips64-premerge-20101231:1.12 matt-nb5-mips64-premerge-20101231:1.12 matt-nb5-pq3:1.12.0.48 matt-nb5-pq3-base:1.12 netbsd-5-1:1.12.0.46 uebayasi-xip-base6:1.12 uebayasi-xip-base5:1.12 netbsd-5-1-RELEASE:1.12 uebayasi-xip-base4:1.12 uebayasi-xip-base3:1.12 netbsd-5-1-RC4:1.12 matt-nb5-mips64-k15:1.12 uebayasi-xip-base2:1.12 netbsd-5-1-RC3:1.12 netbsd-5-1-RC2:1.12 uebayasi-xip-base1:1.12 netbsd-5-1-RC1:1.12 uebayasi-xip:1.12.0.44 uebayasi-xip-base:1.12 netbsd-5-0-2-RELEASE:1.12 matt-nb5-mips64-premerge-20091211:1.12 matt-premerge-20091211:1.12 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.12 matt-nb4-mips64-k7-u2a-k9b:1.12 matt-nb5-mips64-u1-k1-k5:1.12 matt-nb5-mips64:1.12.0.42 netbsd-5-0-1-RELEASE:1.12 jym-xensuspend-nbase:1.12 netbsd-5-0:1.12.0.40 netbsd-5-0-RELEASE:1.12 netbsd-5-0-RC4:1.12 netbsd-5-0-RC3:1.12 netbsd-5-0-RC2:1.12 jym-xensuspend:1.12.0.38 jym-xensuspend-base:1.12 netbsd-5-0-RC1:1.12 christos-time_t-nbase:1.12 christos-time_t:1.12.0.36 christos-time_t-base:1.12 netbsd-5:1.12.0.34 netbsd-5-base:1.12 matt-mips64-base2:1.12 matt-mips64:1.12.0.32 mjf-devfs2:1.12.0.30 mjf-devfs2-base:1.12 netbsd-4-0-1-RELEASE:1.12 wrstuden-revivesa-base-3:1.12 wrstuden-revivesa-base-2:1.12 wrstuden-fixsa-newbase:1.12 wrstuden-revivesa-base-1:1.12 simonb-wapbl-nbase:1.12 yamt-pf42-base4:1.12 simonb-wapbl:1.12.0.28 simonb-wapbl-base:1.12 yamt-pf42-base3:1.12 hpcarm-cleanup-nbase:1.12 yamt-pf42-baseX:1.12 yamt-pf42-base2:1.12 wrstuden-revivesa:1.12.0.26 wrstuden-revivesa-base:1.12 yamt-pf42:1.12.0.24 yamt-pf42-base:1.12 keiichi-mipv6:1.12.0.22 keiichi-mipv6-base:1.12 matt-armv6-nbase:1.12 matt-armv6-prevmlocking:1.12 wrstuden-fixsa-base-1:1.12 netbsd-4-0:1.12.0.20 netbsd-4-0-RELEASE:1.12 cube-autoconf:1.12.0.18 cube-autoconf-base:1.12 netbsd-4-0-RC5:1.12 netbsd-4-0-RC4:1.12 netbsd-4-0-RC3:1.12 netbsd-4-0-RC2:1.12 netbsd-4-0-RC1:1.12 matt-armv6:1.12.0.16 matt-armv6-base:1.12 matt-mips64-base:1.12 hpcarm-cleanup:1.12.0.14 hpcarm-cleanup-base:1.12 netbsd-3-1-1-RELEASE:1.12 netbsd-3-0-3-RELEASE:1.12 wrstuden-fixsa:1.12.0.12 wrstuden-fixsa-base:1.12 abandoned-netbsd-4-base:1.12 abandoned-netbsd-4:1.12.0.6 netbsd-3-1:1.12.0.8 netbsd-3-1-RELEASE:1.12 netbsd-3-0-2-RELEASE:1.12 netbsd-3-1-RC4:1.12 netbsd-3-1-RC3:1.12 netbsd-3-1-RC2:1.12 netbsd-3-1-RC1:1.12 netbsd-4:1.12.0.10 netbsd-4-base:1.12 netbsd-3-0-1-RELEASE:1.12 netbsd-3-0:1.12.0.4 netbsd-3-0-RELEASE:1.12 netbsd-3-0-RC6:1.12 netbsd-3-0-RC5:1.12 netbsd-3-0-RC4:1.12 netbsd-3-0-RC3:1.12 netbsd-3-0-RC2:1.12 netbsd-3-0-RC1:1.12 netbsd-2-0-3-RELEASE:1.11 netbsd-2-1:1.11.0.6 netbsd-2-1-RELEASE:1.11 netbsd-2-1-RC6:1.11 netbsd-2-1-RC5:1.11 netbsd-2-1-RC4:1.11 netbsd-2-1-RC3:1.11 netbsd-2-1-RC2:1.11 netbsd-2-1-RC1:1.11 netbsd-2-0-2-RELEASE:1.11 netbsd-3:1.12.0.2 netbsd-3-base:1.12 netbsd-2-0-1-RELEASE:1.11 netbsd-2:1.11.0.4 netbsd-2-base:1.11 netbsd-2-0-RELEASE:1.11 netbsd-2-0-RC5:1.11 netbsd-2-0-RC4:1.11 netbsd-2-0-RC3:1.11 netbsd-2-0-RC2:1.11 netbsd-2-0-RC1:1.11 netbsd-2-0:1.11.0.2 netbsd-2-0-base:1.11 netbsd-1-6-PATCH002-RELEASE:1.8 netbsd-1-6-PATCH002:1.8 netbsd-1-6-PATCH002-RC4:1.8 netbsd-1-6-PATCH002-RC3:1.8 netbsd-1-6-PATCH002-RC2:1.8 netbsd-1-6-PATCH002-RC1:1.8 netbsd-1-6-PATCH001:1.8 netbsd-1-6-PATCH001-RELEASE:1.8 netbsd-1-6-PATCH001-RC3:1.8 netbsd-1-6-PATCH001-RC2:1.8 netbsd-1-6-PATCH001-RC1:1.8 nathanw_sa_before_merge:1.9 nathanw_sa_end:1.7.2.2 fvdl_fs64_base:1.9 nathanw_sa_base:1.9 netbsd-1-6-RELEASE:1.8 netbsd-1-6-RC3:1.8 netbsd-1-6-RC2:1.8 netbsd-1-6-RC1:1.8 netbsd-1-6:1.8.0.2 netbsd-1-6-base:1.8 netbsd-1-5-PATCH003:1.6.10.1 netbsd-1-5-PATCH002:1.6.10.1 netbsd-1-5-PATCH001:1.6.10.1 nathanw_sa:1.7.0.2 netbsd-1-5-RELEASE:1.6.10.1 netbsd-1-5-BETA2:1.6.10.1 netbsd-1-5-BETA:1.6.10.1 netbsd-1-4-PATCH003:1.6 netbsd-1-5-ALPHA2:1.6.10.1 netbsd-1-5:1.6.0.10 netbsd-1-5-base:1.6 minoura-xpg4dl:1.6.0.8 minoura-xpg4dl-base:1.6 netbsd-1-4-PATCH002:1.6 wrstuden-devbsize-19991221:1.6 wrstuden-devbsize:1.6.0.6 wrstuden-devbsize-base:1.6 comdex-fall-1999:1.6.0.4 comdex-fall-1999-base:1.6 netbsd-1-4-PATCH001:1.6 netbsd-1-4-RELEASE:1.6 netbsd-1-4:1.6.0.2 netbsd-1-4-base:1.6 netbsd-1-3-PATCH003:1.5 netbsd-1-3-PATCH003-CANDIDATE2:1.5 netbsd-1-3-PATCH003-CANDIDATE1:1.5 netbsd-1-3-PATCH003-CANDIDATE0:1.5 netbsd-1-3-PATCH002:1.5 netbsd-1-3-PATCH001:1.5 lite-2:1.1.1.1 CSRG:1.1.1 netbsd-1-3-RELEASE:1.5 netbsd-1-3-BETA:1.5 netbsd-1-3:1.5.0.8 netbsd-1-3-base:1.5 netbsd-1-2-PATCH001:1.5 nsswitch:1.5.0.4 netbsd-1-2-RELEASE:1.5 netbsd-1-2-BETA:1.5 netbsd-1-2-base:1.5 netbsd-1-2:1.5.0.6 netbsd-1-1-PATCH001:1.5 netbsd-1-1-RELEASE:1.5 netbsd-1-1:1.5.0.2 netbsd-1-1-base:1.5 netbsd-1-0-PATCH06:1.4 netbsd-1-0-PATCH05:1.4 netbsd-1-0-PATCH04:1.4 netbsd-1-0-PATCH03:1.4 netbsd-1-0-PATCH02:1.4 netbsd-1-0-PATCH1:1.4 netbsd-1-0-PATCH0:1.4 netbsd-1-0-RELEASE:1.4 netbsd-1-0:1.4.0.2 netbsd-1-0-base:1.4 netbsd-0-9-RELEASE:1.1 netbsd-0-9-BETA:1.1 netbsd-0-9-ALPHA2:1.1 netbsd-0-9-ALPHA:1.1 netbsd-0-9:1.1.0.2 netbsd-0-9-base:1.1; locks; strict; comment @ * @; 1.13 date 2011.01.31.04.49.46; author christos; state Exp; branches; next 1.12; 1.12 date 2005.02.03.04.39.32; author perry; state Exp; branches 1.12.50.1; next 1.11; 1.11 date 2003.08.07.09.44.10; author agc; state Exp; branches; next 1.10; 1.10 date 2003.04.28.23.16.13; author bjh21; state Exp; branches; next 1.9; 1.9 date 2002.10.06.03.15.45; author provos; state Exp; branches; next 1.8; 1.8 date 2001.10.27.15.41.18; author kleink; state Exp; branches; next 1.7; 1.7 date 2000.06.28.01.13.35; author thorpej; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 98.01.13.12.45.02; author kleink; state Exp; branches 1.6.10.1; next 1.5; 1.5 date 94.10.26.00.55.53; author cgd; state Exp; branches; next 1.4; 1.4 date 93.11.11.03.25.48; author jtc; state Exp; branches; next 1.3; 1.3 date 93.11.06.00.58.17; author cgd; state Exp; branches; next 1.2; 1.2 date 93.08.01.18.45.03; author mycroft; state Exp; branches; next 1.1; 1.1 date 93.06.16.17.17.30; author jtc; state Exp; branches 1.1.1.1; next ; 1.12.50.1 date 2011.02.08.16.18.55; author bouyer; state Exp; branches; next ; 1.7.2.1 date 2001.11.14.19.32.34; author nathanw; state Exp; branches; next 1.7.2.2; 1.7.2.2 date 2002.10.18.02.14.39; author nathanw; state Exp; branches; next ; 1.6.10.1 date 2000.07.03.22.29.20; author thorpej; state Exp; branches; next ; 1.1.1.1 date 98.02.02.07.23.23; author perry; state Exp; branches; next ; desc @@ 1.13 log @new error. @ text @/* $NetBSD: fnmatch.h,v 1.12 2005/02/03 04:39:32 perry Exp $ */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @@(#)fnmatch.h 8.1 (Berkeley) 6/2/93 */ #ifndef _FNMATCH_H_ #define _FNMATCH_H_ #include #define FNM_NOMATCH 1 /* Match failed. */ #define FNM_NOSYS 2 /* Function not implemented. */ #define FNM_NORES 3 /* Out of resources */ #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. */ #if defined(_NETBSD_SOURCE) #define FNM_CASEFOLD 0x08 /* Pattern is matched case-insensitive */ #define FNM_LEADING_DIR 0x10 /* Ignore / after Imatch. */ #endif #include __BEGIN_DECLS int fnmatch(const char *, const char *, int); __END_DECLS #endif /* !_FNMATCH_H_ */ @ 1.12 log @de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.11 2003/08/07 09:44:10 agc Exp $ */ d41 1 @ 1.12.50.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.13 2011/01/31 04:49:46 christos Exp $ */ a40 1 #define FNM_NORES 3 /* Out of resources */ @ 1.11 log @Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22270, verified by myself. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.10 2003/04/28 23:16:13 bjh21 Exp $ */ d53 1 a53 1 int fnmatch __P((const char *, const char *, int)); @ 1.10 log @Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour. This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place. I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order. Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.9 2002/10/06 03:15:45 provos Exp $ */ d15 1 a15 5 * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors @ 1.9 log @implement FNM_LEADING_DIR; matches Linux and other *BSDs; approved thorpej @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.8 2001/10/27 15:41:18 kleink Exp $ */ d49 1 a49 1 #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) @ 1.8 log @Make FNM_CASEFOLD !_XOPEN_SOURCE, too. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.7 2000/06/28 01:13:35 thorpej Exp $ */ d51 1 @ 1.7 log @Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive way. Flag name taken from glibc. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.6 1998/01/13 12:45:02 kleink Exp $ */ d49 1 a49 1 #if !defined(_POSIX_C_SOURCE) @ 1.7.2.1 log @Catch up to -current. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.7 2000/06/28 01:13:35 thorpej Exp $ */ d49 1 a49 1 #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) @ 1.7.2.2 log @Catch up to -current. @ text @d1 1 a1 1 /* $NetBSD$ */ a50 1 #define FNM_LEADING_DIR 0x10 /* Ignore / after Imatch. */ @ 1.6 log @Add a FNM_NOSYS return code. This condition will never happen (since fnmatch() is implemented), but this preprocessor symbol is required by XPG4.2. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.5 1994/10/26 00:55:53 cgd Exp $ */ d41 2 d49 3 @ 1.6.10.1 log @Pull up rev. 1.7: Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive way. Flag name taken from glibc. @ text @d1 1 a1 1 /* $NetBSD: fnmatch.h,v 1.7 2000/06/28 01:13:35 thorpej Exp $ */ a40 2 #include a46 3 #if !defined(_POSIX_C_SOURCE) #define FNM_CASEFOLD 0x08 /* Pattern is matched case-insensitive */ #endif @ 1.5 log @new RCS ID format. @ text @d1 1 a1 1 /* $NetBSD$ */ d42 1 @ 1.4 log @Remove #ifdefs introduced in last change -- the header is not specified by 1003.1, so any program that includes it is automatically not POSIX.1 compliant. @ text @d1 2 d35 1 a35 2 * from: @@(#)fnmatch.h 8.1 (Berkeley) 6/2/93 * $Id: fnmatch.h,v 1.3 1993/11/06 00:58:17 cgd Exp $ @ 1.3 log @update to latest version; don't proto fnmatch() unless _POSIX_SOURCE not defined. @ text @d34 1 a34 1 * $Id$ a48 1 #ifndef _POSIX_SOURCE a49 1 #endif @ 1.2 log @Add RCS identifiers. @ text @d2 2 a3 2 * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. d33 2 a34 2 * from: @@(#)fnmatch.h 5.1 (Berkeley) 6/28/92 * $Id: $ d37 2 a38 2 #ifndef _FNMATCH_H_ #define _FNMATCH_H_ d49 3 a51 1 int fnmatch __P((const char *, const char *, int)); @ 1.1 log @Update fnmatch to be more posix complient (from keith bostic) @ text @d33 2 a34 1 * @@(#)fnmatch.h 5.1 (Berkeley) 6/28/92 @ 1.1.1.1 log @import lite-2 @ text @d2 2 a3 2 * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. d33 1 a33 1 * @@(#)fnmatch.h 8.1 (Berkeley) 6/2/93 d36 2 a37 2 #ifndef _FNMATCH_H_ #define _FNMATCH_H_ d48 1 a48 3 #ifndef _POSIX_SOURCE int fnmatch __P((const char *, const char *, int)); #endif @