| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
for -not.
PR: bin/48423
Submitted by: Matsumura Naoki <matsu@jp.FreeBSD.org>
MFC after: 3 days
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI. FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about. As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use. All callers in the
tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|
| |
|
|
|
|
|
| |
Obtained from: OpenDarwin
MFC after: 1 week
|
|
|
|
|
|
| |
in revision 1.17 of option.c.
MFC after: 1 week
|
|
|
|
|
|
|
| |
some shells, etc., and also for GNU compatability (lack of this broke the
Mono CVS build for me).
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make getvfsbyname() take a struct xvfsconf *.
- Convert several consumers of getvfsbyname() to use struct xvfsconf.
- Correct the getvfsbyname.3 manpage.
- Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the
kernel, and rewrite getvfsbyname() to use this instead of the weird
existing API.
- Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist
sysctl.
- Convert a vfsload() call in nfsiod.c to kldload() and remove the useless
vfsisloadable() and endvfsent() calls.
- Add a warning printf() in vfs_sysctl() to tell people they are using
an old userland.
After these changes, it's possible to modify struct vfsconf without
breaking the binary compatibility. Please note that these changes don't
break this compatibility either.
When bp will have updated mount_smbfs(8) with the patch I sent him, there
will be no more consumers of the {set,get,end}vfsent(), vfsisloadable()
and vfsload() API, and I will promptly delete it.
|
|
|
|
| |
- Remove the inclusion of <utmp.h>.
|
|
|
|
| |
xargs(1) when handling -exec ... {} + constructions.
|
|
|
|
| |
its own argument for -ok and -okdir.
|
|
|
|
|
| |
argument lists must be in an argument by itself, not on the end of the
previous one.
|
|
|
|
| |
SUSv3. This is similar to find foo -print0 | xargs -0 utility args.
|
| |
|
|
|
|
|
|
|
| |
using sizeof() anyway. Use slightly more consistent (per-file) error
reporting for malloc(3) returning NULL. If "malloc failed" was being printed,
don't use err(3). If a NULL format is being used, use err(3). In one case
errx(3) was being used with strerror(3), so just use err(3).
|
| |
|
| |
|
|
|
|
| |
Tested by: AXP gcc 3.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
PR: 36602
Submitted by: Joshua Goodall <joshua@roughtrade.net>
No objections from: ru
MFC after: 2 days
|
|
|
|
|
|
| |
resolved.
Reported by: paul
|
|
|
|
|
|
|
| |
PR: bin/36521
Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Reviewed by: mike
MFC after: 3 days
|
| |
|
|
|
|
| |
header searching rules for generated files with #line).
|
|
|
|
|
|
| |
PR: docs/36601
Submitted by: Joshua Goodall <joshua@roughtrade.net>
MFC after: 3 days
|
|
|
|
| |
Add a missing include spotted by gcc30.
|
| |
|
|
|
|
|
|
| |
Fix up parsedate.y for WARNS=4.
Reviewd by: bde (except for parsedate.y diffs)
|
|
|
|
|
|
|
| |
CVS's sources.
This is a "public domain" implementation stolen from INN, and is
added unmodified.
|
|
|
|
| |
a previous include. All other files in this app do this.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
of time units to be used with -[acm]time primaries.
Based on patch from Nils M Holm <nmh@t3x.org>.
PR: bin/29165, bin/30309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documented behavior. Only a certain set of file flags were recognized,
and "no" flags did not match files that have corresponding flags bits
turned off.
Fix and extend the -flags functionality as follows:
: -flags [-|+]<flags>,<notflags>
: The flags are specified using symbolic names (see chflags(1)).
: Those with the "no" prefix (except "nodump") are said to be
: <notflags>. Flags in <flags> are checked to be set, and flags in
: <notflags> are checked to be not set. Note that this is different
: from -perm, which only allows the user to specify mode bits that
: are set.
:
: If flags are preceded by a dash (``-''), this primary evaluates
: to true if at least all of the bits in <flags> and none of the bits
: in <notflags> are set in the file's flags bits. If flags are pre-
: ceded by a plus (``+''), this primary evaluates to true if any of
: the bits in <flags> is set in the file's flags bits, or any of the
: bits in <notflags> is not set in the file's flags bits. Otherwise,
: this primary evaluates to true if the bits in <flags> exactly match
: the file's flags bits, and none of the <flags> bits match those of
: <notflags>.
MFC after: 2 weeks
|
|
|
|
| |
PR: docs/30237
|
|
|
|
|
| |
Broken in the "close a PR" race, in revision 1.30.
Note that the patch in the PR did not have this bug!
|
| |
|
| |
|
|
|
|
|
|
| |
shell-expanded when the specified utility is run.
MFC after: 5 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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>
|
| |
|
|
|
|
|
| |
In addition, since we pass readlink MAXPATHLEN - 1, we would have never have
used that extra byte anyway.
|