1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

14 Commits

Author SHA1 Message Date
deraadt
4a39ccd02c Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
2012-12-05 23:19:48 +00:00
millert
0530874776 Bump fts_level from short to int and add a spare short so things
line up nicely.  OK deraadt@
2010-09-24 13:56:32 +00:00
millert
5fe0ba81f0 Don't stop traversing a directory hierarchy if we reach SHRT_MAX,
just stop updating fts_level so we don't overflow it.  This allows
rm, find, etc to operate on very deep hierarchies.  Consumers of
fts(3) do need to be aware that the actual level may be larger
than fts_level.  During the next libc major bump we will make
fts_level an int instead of a short.  OK deraadt@
2009-08-27 16:19:27 +00:00
millert
197bbb9e6d bye bye whiteouts 2005-06-17 20:36:55 +00:00
espie
d1f942ab4c Remove unnecessary typedef usage.
u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int

okay millert@
2004-01-22 21:48:02 +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
millert
18e528e795 Make path length variables size_t. This fixes the problem where
things like rm can't remove files with ridiculously long path names
that were created by some script kiddie trying in vain to exploit
something.  Previously, the length was effectively constrained to
USHRT_MAX due to one of the internal structs.  Also, nuke FTS_CHDIRROOT
since it never worked correctly and hasn't been documented for a
long time.
2001-05-15 21:14:37 +00:00
millert
10c07aba09 put back FTS_CHDIRROOT until next library major number crank 1999-10-03 20:39:52 +00:00
millert
11a0181957 kill FTS_CHDIRROOT flag, it is broken beyond repair and no longer used 1999-10-03 19:22:22 +00:00
niklas
5ea2d675e0 Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.
1997-09-21 10:45:23 +00:00
millert
bc8371e659 Fix problem with ``find -execdir'' not having the correct initial cwd.
Adds a new flag to fts(3).
1997-09-01 02:44:16 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00