millert
b59f966dd4
Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX.
...
This requires a libc major version bump. OK deraadt@
2019-02-04 16:45:40 +00:00
deraadt
4a39ccd02c
Remove excessive sys/cdefs.h inclusion
...
ok guenther millert kettenis
2012-12-05 23:19:48 +00:00
guenther
2c79e7cc0b
More compliance fixes: hiding non-standard stuff behind __BSD_VISIBLE,
...
making files stand-alone, some __restrict additions.
tweaks kettenis@; ports testing and fixes landry@ and jasper@
ok millert@
2012-10-01 00:21:19 +00:00
djm
baa4cfea7c
add a GLOB_KEEPSTAT option that retains a copy of the struct stat
...
information that is looked up while matching glob(3)s
Keeping this information around can make a big difference when
fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC
feedback millert@ jmc@
"get it in before the libc crank" deraadt@
2010-09-24 13:32:55 +00:00
millert
52a0e6034e
First step in include files overhaul. Use __FOO_VISIBLE (as defined
...
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace
pollution issues, including the byte order defines. OK deraadt@
2005-12-13 00:35:22 +00:00
millert
0dc20d9807
GLOB_NOESCAPE is POSIX so move it out of the #ifndef _POSIX_SOURCE block.
2004-10-07 16:56:11 +00:00
millert
e33d3bd3b8
Remove the advertising clause in the UCB license which Berkeley
...
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02 19:34:12 +00:00
millert
f3c3a9c6df
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
2002-02-17 19:42:18 +00:00
millert
c72b5b24e1
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-16 21:27:05 +00:00
deraadt
98e1217625
GLOB_LIMIT changes from christos
2001-03-18 17:18:58 +00:00
millert
c9fd568446
Add GLOB_NOESCAPE to turn off backslash escaping and make backslash escaping
...
the default. For xpg4.2.
1998-01-31 17:06:26 +00:00
millert
671b46519b
#define GLOB_ABEND to GLOB_ABORTED for backwards compat. Noted by Theo.
1997-09-01 18:44:23 +00:00
millert
5b63607102
Make glob(3) XPG4.2 compliant. This means changing GLOB_ABEND to
...
GLOB_ABORT and defining GLOB_NOMATCH and GLOB_NOSYS (the latter is
not used).
1997-09-01 18:40:28 +00:00
deraadt
df930be708
initial import of NetBSD tree
1995-10-18 08:37:01 +00:00