Andrey A. Chernov
fa2b491527
Don't attempt to parse %c, use nl_langinfo instead
2001-03-21 15:51:50 +00:00
Warner Losh
470b24b584
MAXPATHLEN already accounts for the trailing NUL, so no need to add one in.
...
In addition, since we pass readlink MAXPATHLEN - 1, we would have never have
used that extra byte anyway.
2001-03-01 05:49:36 +00:00
Ollivier Robert
c76bc8f3bf
This patch adds the -mindepth and -maxdepth options to find(1), which
...
behave as in GNU find (and of course as described in the manual page
diff included). I think these options would be useful for some people.
Some missing $FreeBSD$ tags are also added.
The patch was slightly modified (send-pr mangling of TABS).
PR: bin/18941
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-12 11:12:41 +00:00
Bruce Evans
22694ebad5
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
Warner Losh
c788c9b224
Make sure we pass the length - 1 to readlink, since it adds its own
...
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt
1998-06-09 04:10:08 +00:00
Andrey A. Chernov
bf4fce1a35
Localize it
1996-08-12 11:39:24 +00:00
Garrett Wollman
656dcd4316
Delete bogus referneces to timezone code internal header file `tzfile.h',
...
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00