#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
249657 |
|
19-Apr-2013 |
ed |
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions.
Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning.
Announced on: toolchain@
|
#
203747 |
|
10-Feb-2010 |
ed |
Remove unneeded CFLAGS.
|
#
201386 |
|
02-Jan-2010 |
ed |
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
|
#
140810 |
|
25-Jan-2005 |
ssouhlal |
- Make find(1) WARNS?= 6 clean - Bump to WARNS?= 6
Approved by: stefanf, grehan (mentor)
|
#
94792 |
|
15-Apr-2002 |
obrien |
Fix to WARNS=2 level.
Tested by: AXP gcc 3.1
|
#
94630 |
|
13-Apr-2002 |
obrien |
Clean up the 1/2 a** committing from Thu, 3 May 2001 11:05:39 -0700 (PDT). Since then we have living with a GPL'ed find(1) due to grabbing getdate.y from src/contrib/cvs and its user of the GPL'ed xtime.h. I don't even want to think about how this could have affected people using our source base.
Would it have been too much trouble to do then what I did now? Copied getdate.y (public domain) to usr.bin/find and change to use standard system headers. find(1) now compiles simply with out having to go to extra effort to do so.
Pointed hat to: phk Build fixed on: gcc 3.1 using platforms
|
#
93644 |
|
02-Apr-2002 |
markm |
There is breakage in parsedate, so revert to get_date until this can be resolved.
Reported by: paul
|
#
93603 |
|
01-Apr-2002 |
obrien |
Allow to compile a YACC produced file with GCC 3.1 (which has different header searching rules for generated files with #line).
|
#
92904 |
|
21-Mar-2002 |
markm |
Restructure for own parsedate (replacement for get_date from CVS).
Fix up parsedate.y for WARNS=4.
Reviewd by: bde (except for parsedate.y diffs)
|
#
91400 |
|
27-Feb-2002 |
dwmalone |
1) Remove -Wall from Makefile. 2) WARNs fixes (rename option to lookup_option to avoid shadowing, rename argv to argv1 to avoid shadowing, const stuff, prototypes, __unused). 3) Remove "register"s.
|
#
76250 |
|
03-May-2001 |
phk |
They add the following commands: -anewer -cnewer -mnewer -okdir -newer[acm][acmt]
With it, you can form queries like
find . -newerct '1 minute ago' -print
As an extra bonus, the program is ANSI-fied - the original version relies on some obscure features of K&R C.
(This PR was submitted in 1999, and the submittor has kept the patch updated ever since, hats off for him guys, and how about you close a PR ??)
PR: 9374 Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
|
#
61749 |
|
17-Jun-2000 |
joe |
Switch over to using the new fflagstostr and strtofflags library calls.
|
#
61575 |
|
12-Jun-2000 |
roberto |
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>
|
#
57003 |
|
05-Feb-2000 |
joe |
Revert part of the last commit, remove {g|s}etflags from the libc interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function.
Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem.
There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls).
It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner.
Approved: jkh
|
#
56692 |
|
27-Jan-2000 |
joe |
Historically file flags (schg, uschg, etc) have been converted from string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags.
Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc.
There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags.
The manual page could probably be improved upon ;)
|
#
55302 |
|
01-Jan-2000 |
joe |
Added missing DPADD's. Removed unrequired SRCS's.
Obtained from: bde
|
#
55270 |
|
30-Dec-1999 |
joe |
Moved flags_to_string and string_to_flags into libutil. It's used in many places nowadays.
|
#
54828 |
|
19-Dec-1999 |
roberto |
Second part of bin/3648: add -flags to search for specific flags. I added $FreeBSD$ whicle I was here. The patch wasn't usable anymore due to its age so I adapted it.
PR: bin/3648 Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
|
#
32645 |
|
20-Jan-1998 |
bde |
Removed definition of _NEW_VFSCONF. The new vfsconf interface is now the default.
|
#
23695 |
|
11-Mar-1997 |
peter |
Merge from Lite2 - use new getvfsbyname() and related changes. understand whiteouts (FTS_W from fts()).
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|