| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
is reduced by 40k, dynamic by a few bytes.
Functional changes:
* "sleep -- arg" now returns usage() instead of ignoring the --
* "sleep -1" now returns immediately instead of returning usage()
Reviewed by: jmallett
Notes:
svn path=/head/; revision=106883
|
|
|
|
|
|
|
|
| |
in sleep including duping strtol(3). Code changes also increased
dynamic size of sleep(1).
Notes:
svn path=/head/; revision=106882
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]*
Remove a few unnecessary casts.
%ls -l /bin/sleep
-r-xr-xr-x 1 root wheel 61332 Oct 28 05:16 /bin/sleep
%ls -l /usr/obj/usr/src/bin/sleep/sleep
-rwxr-xr-x 1 root wheel 19124 Nov 13 12:12 /usr/obj/usr/src/bin/sleep/sleep
Submitted by: Tim Kientzle <kientzle@acm.org>
Notes:
svn path=/head/; revision=106874
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before...
-r-xr-xr-x 1 root wheel 58636 Oct 28 05:16 /bin/echo
After...
-rwxr-xr-x 1 root wheel 12824 Nov 12 17:39 /usr/obj/usr/src/bin/echo/echo
Submitted by: Tim Kientzle <kientzle@acm.org>
Notes:
svn path=/head/; revision=106835
|
|
|
|
| |
Notes:
svn path=/head/; revision=106479
|
|
|
|
| |
Notes:
svn path=/head/; revision=106399
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Gracefully handle the case where standard input is missing
a newline at EOF.
- Exit with status 1 instead of -1 (really 255) on error.
- Add a Diagnostics section to the manual page documenting
exit status.
Approved by: rwatson
Notes:
svn path=/head/; revision=106388
|
|
|
|
|
|
|
|
|
|
|
| |
listings if the file has an extended ACL (more than the required 3 entries).
This is what Solaris and IRIX do, and what the withdrawn POSIX.2c standard
required.
Reviewed by: rwatson (an earlier version of the patch)
Notes:
svn path=/head/; revision=106371
|
|
|
|
|
|
|
| |
to match that.
Notes:
svn path=/head/; revision=106318
|
|
|
|
|
|
|
|
|
|
| |
o Remove static function uuid_print(); use uuid_to_string(3) in
combination with printf(3) to achieve the same,
o Remove unneeded includes,
o Add a reference to uuid(3) to the manpage.
Notes:
svn path=/head/; revision=106283
|
|
|
|
| |
Notes:
svn path=/head/; revision=106251
|
|
|
|
| |
Notes:
svn path=/head/; revision=106192
|
|
|
|
|
|
|
|
|
|
|
| |
whether a named utility should behave in FreeBSD 4.x-compatible mode
or in a standard mode (default standard). The configuration is done
malloc(3)-style, with either an environment variable or a symlink.
Update expr(1) to use this new interface.
Notes:
svn path=/head/; revision=106065
|
|
|
|
|
|
|
| |
consumption.
Notes:
svn path=/head/; revision=106053
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
object to retrieve label information on, rather than directly
consuming the fts-provided paths (none of which are quite right).
This is based on the similar readlink() code, and may contain
the same bugs.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=105836
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than the LOMAC-specific interfaces for listing MAC labels. This permits
ls to view MAC labels in a manner similar to getfmac, when ls is used
with the -l argument. Next generation LOMAC will use the MAC Framework
so should "just" work with this and other policies. Not the prettiest
code in the world, but then, neither is ls(1).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=105832
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the LOMAC-specific interface (which is being deprecated). The
revised LOMAC using the MAC framework will export levels listable
using this mechanism.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=105831
|
|
|
|
| |
Notes:
svn path=/head/; revision=105824
|
|
|
|
|
|
|
| |
about the type of argv.
Notes:
svn path=/head/; revision=105781
|
|
|
|
| |
Notes:
svn path=/head/; revision=105780
|
|
|
|
| |
Notes:
svn path=/head/; revision=105778
|
|
|
|
| |
Notes:
svn path=/head/; revision=105396
|
|
|
|
| |
Notes:
svn path=/head/; revision=105395
|
|
|
|
|
|
|
|
|
|
| |
as `?' or `\ooo', depending on whether the -b or -B flags were used.
PR: 43995
MFC after: 1 month
Notes:
svn path=/head/; revision=105390
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=105389
|
|
|
|
|
|
|
|
|
|
|
| |
appropriate. Before this, a 2.9 GB file was misleadingly reported as
"2G". This mostly brings unit_adjust() in line with what is in du(1).
Reviewed by: jmallett
Approved by: nik
Notes:
svn path=/head/; revision=105375
|
|
|
|
|
|
|
| |
for ages, and no-one seems to have noticed. Viva PAM!
Notes:
svn path=/head/; revision=105269
|
|
|
|
|
|
|
|
|
|
|
| |
are later stripped with rmescapes() in expandarg(). If the filename has
already been unescaped, doing it again in rmescapes() can walk off the
end of the string, leading to memory corruption and eventually SIGSEGV.
Noticed by: kris
Notes:
svn path=/head/; revision=104672
|
|
|
|
|
|
|
|
|
| |
reset with a call to va_start before each use of the va_list.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=104563
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=104560
|
|
|
|
|
|
|
|
| |
free-memory-and-reuse-it-after. Correct both problems and
make rcp -r work again under /etc/malloc.conf -> AJ.
Notes:
svn path=/head/; revision=104559
|
|
|
|
| |
Notes:
svn path=/head/; revision=104556
|
|
|
|
|
|
|
|
|
| |
commands. Commands like "if then ... fi" and "while do ... done" are no
longer accepted. Bodies of compound commands are still allowed to be
empty, because even though POSIX does not allow them, most shells do.
Notes:
svn path=/head/; revision=104554
|
|
|
|
|
|
|
|
|
|
| |
%qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from
Makefile.
Tested on: alpha, sparc64, i386
Notes:
svn path=/head/; revision=104549
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead use %ju and cast the argument.
WFORMAT=0 is still required in the Makefile because gcc warns about
some strftime() calls (I don't think this behaviour is useful.)
Tested on: sparc64, alpha, i386
Notes:
svn path=/head/; revision=104548
|
|
|
|
|
|
|
|
|
| |
replaced by int instead of size_t.
Spotted by: fanf
Notes:
svn path=/head/; revision=104414
|
|
|
|
|
|
|
|
|
|
| |
off_t is for offsets in files, and it is signed so it was no better
than the original type of int for avoiding warnings from broken lints,
except accidentally on machines like i386's where size_t is smaller
than off_t.
Notes:
svn path=/head/; revision=104411
|
|
|
|
|
|
|
| |
MFC After: 1 week
Notes:
svn path=/head/; revision=104410
|
|
|
|
| |
Notes:
svn path=/head/; revision=104388
|
|
|
|
|
|
|
|
| |
using %td when we know that the number is between 0 and 9; mksyntax is a
build tool and needs to work on -stable.
Notes:
svn path=/head/; revision=104367
|
|
|
|
| |
Notes:
svn path=/head/; revision=104318
|
|
|
|
|
|
|
| |
in the previous commit.
Notes:
svn path=/head/; revision=104289
|
|
|
|
|
|
|
|
| |
libc's vfprintf() that writes to a `struct output' instead of a file.
Inspired by NetBSD's similar changes (they used asprintf() instead).
Notes:
svn path=/head/; revision=104286
|
|
|
|
|
|
|
| |
Tested on: alpha, i386, sparc64
Notes:
svn path=/head/; revision=104284
|
|
|
|
|
|
|
|
|
| |
a program fails because the file or a path component does not exist.
Suggested by: bde
Notes:
svn path=/head/; revision=104283
|
|
|
|
|
|
|
|
|
|
|
| |
- Cast rlim_t to intmax_t when printing it.
This should fix the last format errors in sh(1).
Tested on: i386, sparc64
Notes:
svn path=/head/; revision=104282
|
|
|
|
|
|
|
| |
errors with %qd formats.
Notes:
svn path=/head/; revision=104276
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointers. This fixes two format warnings on 64 bits
archs which are fatal now that WFORMAT=0 has been removed.
It doesn't fully fix the sh(1) build on 64 bits platforms
though, there is still some quad_t issues that need to be
fixed.
Tested on: i386, sparc64
Notes:
svn path=/head/; revision=104275
|
|
|
|
|
|
|
|
| |
on at least i386. If there are warnings on other archs, I'd rather hear
about them than pretend they didn't exist.
Notes:
svn path=/head/; revision=104273
|
|
|
|
|
|
|
| |
function in libc.
Notes:
svn path=/head/; revision=104261
|