imp
7e6cabd06e
Renumber copyright clause 4
...
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
2017-02-28 23:42:47 +00:00
gjb
ee23b7758f
Explicitly add unmarked bin/ binaries to the runtime package.
...
Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate
package, which requires pre-install/post-install scripts, to be
added later.
Sponsored by: The FreeBSD Foundation
2016-02-09 16:58:50 +00:00
sjg
008d7c831f
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
75a137820d
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
sjg
5860f0d106
Updated dependencies
2014-05-16 14:09:51 +00:00
sjg
1a7e48acf1
Updated dependencies
2014-05-10 05:16:28 +00:00
sjg
62bb106222
Merge from head
2013-09-05 20:18:59 +00:00
eadler
84376c209e
Add missing static qualifiers
...
Reviewed by: ed, jilles
MFC After: 3 days
2013-04-27 21:59:43 +00:00
sjg
97d8b94956
sync from head
2013-04-12 20:48:55 +00:00
joel
2ba67e203a
Add a few examples.
...
Obtained from: OpenBSD
2013-03-15 20:12:54 +00:00
sjg
6d37b86f2b
Updated dependencies
2013-03-11 17:21:52 +00:00
sjg
0ee5295509
Updated dependencies
2013-02-16 01:23:54 +00:00
marcel
9dd41e3647
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
ed
f58d00c87a
Put some static keywords in the source code.
...
For these simple utilities, it doesn't harm to make all global variables
static. In fact, this allows the compiler to perform better forms of
optimisation and analysis.
2011-10-31 08:59:17 +00:00
ru
bea4c2efb0
More markup fixes.
2006-12-27 11:28:00 +00:00
ru
0f2436332c
Fix markup.
2006-12-27 11:19:06 +00:00
ru
7b5daf2d9b
Adhere to POSIX: the -m option only applies to the newly created
...
directories; it should not change the permission bits of already
existing directories.
Submitted by: Alex Unleashed (modified by me)
2006-10-10 20:18:20 +00:00
ru
978b8f7f1d
Sync program's usage() with manpage's SYNOPSIS.
2005-02-09 17:37:39 +00:00
ssouhlal
592ade11be
Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.inc
...
Requested by: ru
Approved by: grehan (mentor)
2005-01-26 06:48:17 +00:00
ssouhlal
5ad9327a22
- The first argument of getmode() is a void *
...
- Add WARNS?= 6
Approved by: stefanf, grehan (mentor)
Obtained from: DragonFlyBSD
2005-01-25 14:31:19 +00:00
ru
ffd9fd4c0e
Add the new standard EXIT STATUS section where appropriate.
...
Sort standard sections in the (documented) preferred order.
2005-01-16 16:41:59 +00:00
imp
a76898b849
/*- or .\"- or #- to begin license clauses.
2005-01-10 08:39:26 +00:00
das
899ec14cac
Don't read the byte at *argv[strlen(*argv) + 1].
...
PR: 71743
2004-09-24 06:57:26 +00:00
ru
305463f129
Deal with double whitespace.
2004-07-03 00:06:28 +00:00
markm
4383f14801
Remove clause 3 from the UCB licenses.
...
OK'ed by: imp, core
2004-04-06 20:06:54 +00:00
obrien
eaf3fff90a
Quiet warnings about copyright[].
2003-05-01 16:58:57 +00:00
tjr
41d2a14ec1
Put documentation of the -m option's argument in its list tag in the
...
Description section for consistency with other manpages.
2002-06-30 06:50:16 +00:00
obrien
c84c569bd1
Consistently use __FBSDID
2002-06-30 05:13:54 +00:00
charnier
79b89ed363
Use `The .Nm utility'
2002-04-16 20:08:06 +00:00
sobomax
521f052069
Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) system
...
call returns `EISDIR', not `EEXIST', so that be prepared for that. This should
fix number of ports, that often call `mkdir -p //usr/local/foobar'. This
is just a quick workaround, the real fix would be either to avoid calling
mkdir("/", ...) or fix VFS code to return consistent errno for this case.
2002-02-25 09:17:44 +00:00
markm
2e9a506a04
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:11:03 +00:00
zarzycki
98e34f92cb
Fix the race between the stat() and the mkdir().
...
Reviewed by: jkh
2002-02-05 21:55:12 +00:00
imp
50014e3541
o __P has been reoved
...
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
2002-02-02 06:48:10 +00:00
obrien
099f8ecbe9
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
0f445ae1d8
Set WARNS=2 on programs which compile cleanly.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-15 10:30:46 +00:00
yar
d6f3122a76
Add a note on what happens if the "-p" option is specified
...
and a final directory already exists.
Reviewed by: freebsd-audit
MFC after: 5 days
2001-06-29 11:45:14 +00:00
kris
3819badcd6
Silence WARNS=2 and BDECFLAGS except for stupid mode_t warnings.
...
MFC after: 1 week
2001-05-20 05:49:20 +00:00
alfred
1e92669889
Special case the error reporting when errno is ENOTDIR or ENOENT.
...
This makes "mkdir /nonexistant/foo" complain that /nonexistant
doesn't exist rather than /nonexistant/foo which doesn't make much
sense.
Submitted (in a different form) by: W.H.Scholten <whs@xs4all.nl>
2001-01-14 12:08:50 +00:00
ru
be1f850a8f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
mharo
0cae029984
brucify and add comment about -v being non-standard to manpage
...
Reviewed by: obrien
1999-09-04 03:19:38 +00:00
mpp
e9a5cbf430
Fix typo in previous commit that documented the -v option.
1999-08-28 21:38:36 +00:00
mharo
98ee646b7c
add verbose flag
...
Reviewed by: obrien
1999-08-28 20:46:00 +00:00
peter
66312e4a8d
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
kris
713dd62834
Various spelling/formatting changes.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
imp
a15b387ba9
Free memory obtained from setmode.
...
Obtained from: OpenBSD
1998-12-16 04:42:33 +00:00
msmith
b63c54893f
Fix behaviour for 'mkdir -m 777 / /tmp/foo'. Play "guess the style bug"
...
with Bruce again.
Reported by: bde
1998-10-23 06:28:40 +00:00
msmith
c4aa0cf6f7
Honour the spirit rather than the implementation of the previous changes;
...
if we are invoked with -m, use chmod() on the final directory component
in order to ensure the mode is correctly set.
1998-10-22 21:42:20 +00:00
msmith
83b8dc833c
Make this compile, and honour the spirit of the original design while
...
incorporating the intended fix. Attempt to address some of the
putative style bugs introduced. Others doubtless remain.
Embarrassed by: bde
1998-10-20 08:04:15 +00:00
msmith
d58bc5bf6e
- mkdir -m should call chmod because the high-order bits get ignored
...
by the kernel as a security feature of some sort.
Submitted by: Wilfredo Sanchez <wsanchez@apple.com>
1998-10-20 06:37:01 +00:00