Ruslan Ermilov
95a09b0557
Make it clear that -P is the default.
...
PR: docs/27629
2001-05-25 07:32:58 +00:00
Dima Dorfman
8fa5674d69
Spelling police: insure -> ensure
...
PR: 27600
Submitted by: Iain Templeton <iain@ugh.net.au>
2001-05-24 03:52:32 +00:00
Kris Kennaway
bfa27aef55
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 06:21:12 +00:00
Kris Kennaway
4ca63b7f7e
Silence WARNS=2 and BDECFLAGS except for stupid mode_t warnings.
...
MFC after: 1 week
2001-05-20 05:49:20 +00:00
Kris Kennaway
22eb6dd432
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:37:46 +00:00
Kris Kennaway
6dca651581
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 05:33:53 +00:00
Kris Kennaway
7f204f9b36
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:25:37 +00:00
Kris Kennaway
0a26b6bbc0
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 05:13:21 +00:00
Kris Kennaway
692ad02bcd
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:10:04 +00:00
Kris Kennaway
52a2fc64fe
Silence WARNS=2 and BDECFLAGS on i386 and alpha.
...
MFC After: 1 week
2001-05-20 05:01:48 +00:00
Kris Kennaway
29e13abe4c
Silence WARNS=2 and BDECFLAGS on alpha and i386, except for mode_t
...
warnings.
MFC after: 1 week
2001-05-20 05:00:16 +00:00
Kris Kennaway
97dbc8f347
Silence WARNS=2 and BDECFLAGS on i386 and alpha
...
MFC After: 1 week
2001-05-20 04:54:15 +00:00
Kris Kennaway
961a739a43
Silence WARNS=2 and BDECFLAGS on the i386 and alpha
...
MFC After: 1 week
2001-05-20 04:52:37 +00:00
Kris Kennaway
28bf320298
Silence warnings on alpha. Unfortunately we can't add WARNS to this
...
because of that stupid mode_t warning bug.
MFC After: 1 week
2001-05-20 04:47:55 +00:00
Kris Kennaway
0c37bb2120
Make this pass WARNS=2 and BDECFLAGS
2001-05-20 04:37:28 +00:00
Kris Kennaway
a95a13bb8f
BDECFLAGS cleanup (modulo long long issues). Add WARNS. Tested on alpha.
...
Reviewed by: the great man himself (except alpha cleanups)
2001-05-20 04:12:30 +00:00
Kris Kennaway
925d09e9ab
Make this compile with WARNS=2
2001-05-20 03:24:24 +00:00
Ruslan Ermilov
3ab9a9d0e0
Removed -I${.CURDIR}/.../sys from CFLAGS.
2001-05-18 13:41:42 +00:00
Kris Kennaway
5e5a566754
BDECFLAGS cleanup
2001-05-18 11:04:19 +00:00
Ruslan Ermilov
10d865720b
Fix an off-by-hour bug when crossing Daylight Saving Time boundary.
...
PR: bin/27399
Submitted by: "Crist J. Clark" <crist.clark@globalstar.com>
MFC after: 3 days
2001-05-17 15:20:15 +00:00
Warner Losh
34f9c106b9
Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy the
...
strings.
2001-05-16 19:10:40 +00:00
Kris Kennaway
f3895a821a
Fix operation of df on unmounted filesystems, and add the ability to run df
...
on unmounted non-UFS filesystem using '-t'
Submitted by: bde
2001-05-09 08:44:15 +00:00
Ruslan Ermilov
a0eb755a9b
mdoc(7) police: fix markup, rename and reorder some sections.
2001-05-08 08:12:53 +00:00
Ruslan Ermilov
72272f83b2
mdoc(7) police: sort xrefs.
2001-05-08 07:19:19 +00:00
Kris Kennaway
e78527c437
GC some dead code relating to running df on unmounted block devices,
...
and remove the setgid operator bit from the installed binary: if you want
to view free disk space on an unmounted device, you should have read
permissions to access it.
Reviewed by: phk
2001-05-08 06:58:25 +00:00
Kris Kennaway
b1787dec81
Sync up with OpenBSD. Too many changes to note, but the major features
...
are:
* Implement cpio compatibility mode when pax is invoked as cpio
* Extend tar compatibility mode to cover many of the GNU tar single-letter
options (bzip2 mode, aka -y/-j is not present in OpenBSD). When
invoked as tar, pax is now full-featured enough for use by the ports
collection to extract distfiles and create packages.
* Many bug fixes to the operation of pax and the tar compatibility modes
* Code fixes for things like correct string buffer termination.
I tried to preserve existing FreeBSD fixes to this utility; please let me
know if I have inadvertently spammed something.
2001-05-08 06:19:06 +00:00
Kris Kennaway
1192d531bf
Add -z flag to pax to allow gzipping of archive output. Add -z and -Z (gzip
...
and compress) to pax when used in tar mode (invoked as 'tar') for
compatibility with GNU tar.
bzip2 functionality for further GNU tar compatibility will be added at a
later date.
Note in the manpage that -z is non-standard.
Obtained from: OpenBSD
Reviewed by: -hackers
MFC after: 2 weeks
2001-05-05 01:10:13 +00:00
Mark Murray
25bba4f6ad
Depollute headers now that the VM headers DTRT.
2001-05-03 11:49:44 +00:00
Chris D. Faulhaber
0051154b1c
Correct assignment of the resulting ACL allowing the mask entry to
...
be properly set.
Obtained from: TrustedBSD Project
2001-05-03 03:17:44 +00:00
Mark Murray
325a83b456
Compensate for header dethreading.
2001-05-01 08:39:23 +00:00
Dima Dorfman
9434a1c780
Document "chdir" builtin.
2001-04-28 02:13:58 +00:00
Ruslan Ermilov
41f6d28423
Fixed a typo.
2001-04-27 08:12:45 +00:00
Maxim Sobolev
1d7f44ef26
Put a note that -h' and
-n' is non-standard and provided only for
...
compatibility purposes.
Prompted by: ru
2001-04-27 08:00:19 +00:00
Maxim Sobolev
c9e7c66776
Bring in -h' compatability option and its alias
-n' to match NetBSD and GNU
...
semantics.
style(9) Reviewed by:
Obtained from: NetBSD
2001-04-26 17:15:57 +00:00
Kris Kennaway
d12dd1a1b5
Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.
2001-04-26 09:22:28 +00:00
Kris Kennaway
778766fe4d
Reduce diffs with OpenBSD:
...
#if __STDC__ -> #ifdef __STDC__
pax_warn() -> paxwarn()
sys_warn() -> syswarn()
(foo *)NULL -> NULL
bcopy -> memmove()/memcpy()
bzero -> memset()
Typo fixes
sprintf() -> snprintf()
rindex() -> strrchr()
index() -> strchr()
sys_errlist[] -> strerror()
Obtained from: OpenBSD
2001-04-26 08:37:00 +00:00
Kris Kennaway
ffbef1cd72
Use mkstemp() for secure tempfile creation instead of tempnam()
...
Obtained from: OpenBSD
Reviewed by: mikeh
2001-04-26 07:32:27 +00:00
Chris D. Faulhaber
0f6263079e
o Separate acl_t into internal and external representations as
...
required by POSIX.1e. This maintains the current 'struct acl'
in the kernel while providing the generic external acl_t
interface required to complete the ACL editing library.
o Add the acl_get_entry() function.
o Convert the existing ACL utilities, getfacl and setfacl, to
fully make use of the ACL editing library.
Obtained from: TrustedBSD Project
2001-04-24 22:45:41 +00:00
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Kris Kennaway
a2e73040f4
-Wnon-const-format sweep: make format strings const char *'s, add
...
__printflike()/__printf0like() to function prototypes, as appropriate.
Reviewed by: bde, -audit
2001-04-17 07:46:38 +00:00
Chris D. Faulhaber
7a832d4392
Convert getfacl to the ACL editing library functions. getfacl should
...
now compile/work on any POSIX.1e-compliant implementation (also tested
against the current Linux patches).
Review by: rwatson
Obtained from: TrustedBSD Project
2001-04-13 19:24:28 +00:00
Brian Somers
cdf6f0b1ae
Correct some markup
...
Submitted by: bde
2001-04-12 20:04:54 +00:00
Brian Somers
ff1b168b6e
Introduce -osid and -otsid
...
Submitted by: dd
2001-04-11 22:42:54 +00:00
Chris D. Faulhaber
fb1af1f2bf
Correct the following defines to match the POSIX.1e spec:
...
ACL_PERM_EXEC -> ACL_EXECUTE
ACL_PERM_READ -> ACL_READ
ACL_PERM_WRITE -> ACL_WRITE
Obtained from: TrustedBSD
2001-04-11 02:19:01 +00:00
Brian Somers
b785bd7d3b
`|'' should be more binding than
`!'' so that this isn't broken:
...
if ! echo bla | wc -c ; then
echo broken
fi
Obtained from: NetBSD
2001-04-09 12:46:19 +00:00
Brian Somers
48b2c871df
Remove tsess for now.
...
This (and sess) may come back shortly.
2001-04-07 11:22:26 +00:00
Brian Somers
86aca2117b
Update documentation in line with what the code does
...
PR: 25435
Submitted by: dd
Forgotten by: mckusick
2001-04-07 11:16:41 +00:00
Brian Somers
52f8369e69
The sess column went away last December with v1.26 of keyword.c
...
Remove it from ``jfmt''.
Forgotten by: mckusick
2001-04-07 02:53:35 +00:00
Thomas Moestl
843f999ce2
setfacl and getfacl no longer need to link against libposix1e, since it
...
has been integrated into libc.
Approved by: rwatson
Obtained from: TrustedBSD Project
2001-04-04 18:20:08 +00:00
Brian Somers
6c0bde79a8
A much better (more correct) fix for handling ``!'' characters
...
Obtained from: NetBSD
2001-04-04 10:11:43 +00:00