kris
ff7b5a0dad
Fix warnings to compile with WARNS=2 on i386 and alpha
...
Reviewed by: bde
2001-05-26 20:45:25 +00:00
ru
74c5a70065
Make it clear that -P is the default.
...
PR: docs/27629
2001-05-25 07:32:58 +00:00
dd
3e956d42d4
Spelling police: insure -> ensure
...
PR: 27600
Submitted by: Iain Templeton <iain@ugh.net.au>
2001-05-24 03:52:32 +00:00
kris
bff48195c5
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 06:21:12 +00:00
kris
ba3b0e6bfc
Silence WARNS=2 and BDECFLAGS except for stupid mode_t warnings.
...
MFC after: 1 week
2001-05-20 05:49:20 +00:00
kris
60a89caa1b
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:37:46 +00:00
kris
f8a3fb4fbc
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 05:33:53 +00:00
kris
47ab251a66
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:25:37 +00:00
kris
8873eb2796
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 05:13:21 +00:00
kris
d81c9548cb
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 05:10:04 +00:00
kris
917843bc44
Silence WARNS=2 and BDECFLAGS on i386 and alpha.
...
MFC After: 1 week
2001-05-20 05:01:48 +00:00
kris
49be83f9cf
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
3fb2565631
Silence WARNS=2 and BDECFLAGS on i386 and alpha
...
MFC After: 1 week
2001-05-20 04:54:15 +00:00
kris
feb8ba8e39
Silence WARNS=2 and BDECFLAGS on the i386 and alpha
...
MFC After: 1 week
2001-05-20 04:52:37 +00:00
kris
4eb0bd9487
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
ef3012c214
Make this pass WARNS=2 and BDECFLAGS
2001-05-20 04:37:28 +00:00
kris
209cea8236
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
fb99aac403
Make this compile with WARNS=2
2001-05-20 03:24:24 +00:00
ru
136b4e514b
Removed -I${.CURDIR}/.../sys from CFLAGS.
2001-05-18 13:41:42 +00:00
kris
786074a172
BDECFLAGS cleanup
2001-05-18 11:04:19 +00:00
ru
b7333c3817
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
imp
13a28cc232
Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy the
...
strings.
2001-05-16 19:10:40 +00:00
kris
00c6bb702d
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
ru
6a2327d2d9
mdoc(7) police: fix markup, rename and reorder some sections.
2001-05-08 08:12:53 +00:00
ru
66e5326696
mdoc(7) police: sort xrefs.
2001-05-08 07:19:19 +00:00
kris
a6e99aa02d
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
f0f4a97cc6
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
9eb581c05b
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
markm
ef0495a329
Depollute headers now that the VM headers DTRT.
2001-05-03 11:49:44 +00:00
jedgar
fac3b3a951
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
markm
b36b036677
Compensate for header dethreading.
2001-05-01 08:39:23 +00:00
dd
ed47b7f533
Document "chdir" builtin.
2001-04-28 02:13:58 +00:00
ru
b98bda4c5e
Fixed a typo.
2001-04-27 08:12:45 +00:00
sobomax
c2111b9402
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
sobomax
90eaa79d09
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
c0458b5dd9
Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.
2001-04-26 09:22:28 +00:00
kris
d6b761d326
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
9b6fb2f5f9
Use mkstemp() for secure tempfile creation instead of tempnam()
...
Obtained from: OpenBSD
Reviewed by: mikeh
2001-04-26 07:32:27 +00:00
jedgar
5b3da70b70
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
ru
1db489053b
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
kris
61a429452c
-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
jedgar
9d1f873233
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
766f72a0f5
Correct some markup
...
Submitted by: bde
2001-04-12 20:04:54 +00:00
brian
5778f9cdd1
Introduce -osid and -otsid
...
Submitted by: dd
2001-04-11 22:42:54 +00:00
jedgar
d900d9995a
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
07aa0f70cb
`|'' 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
128b494724
Remove tsess for now.
...
This (and sess) may come back shortly.
2001-04-07 11:22:26 +00:00
brian
85867e9d5b
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
3f36d8d0d3
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
tmm
64200e310b
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