| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
didn't correctly start background jobs anymore. Strange that nobody
was complaining...
Add a dummy target for `builtins' in the Makefile, to prevent it
from attempting to build this file by compiling builtins.c. :-/
|
| |
|
| |
|
|
|
|
|
|
| |
passed to kvm_open. Closes PR# 476.
Submitted by: Jeffrey Hsu <hsu@freebsd.org>
|
|
|
|
| |
Submitted by: Tom Samplonius <tom@haven.uniserve.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes PR943.
ffs/ffs_vfsops.c:
ffs_statfs() multiplied by (100 - minfree) as part of calculating the
minfree percentage (complemented in 100%), so with the standard minfree
of 8, it was broken for file systems of size >= 1TB/92 = 11GB. Use the
standard freespace() macro instead. This also fixes a rounding bug (the
"Avail" count was sometimes 1 too small).
ffs/* (not fixed):
The freespace() macro multiplies by minfree, so with the standard
minfree of 8, it is broken for file systems of size >= 1TB/8 = 128GB.
This bug is more serious since it affects block allocation.
ffs/ffs_alloc.c (not fixed):
Ordinary users are sometimes allowed to allocate 1 (partial) block
too many so that the "Avail" count goes negative. E.g., if there is
1 fragment available and the file is fairly large, one more full
block is allocated.
df/df.c:
ufs_df() used/uses essentially the same code as ffs_statfs(), so it
had/has the same bugs.
ufs_df() gratuitously replaced "Avail" counts of < 0 by 0, so it
gave different results for non-mounted file systems in this case.
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
| |
Reviewed by: jkh, kuku, phk
|
|
|
|
|
|
|
| |
. mention the need for procfs
. make it clear that default sorting is first by ctty, then by PID
Submitted by: schweikh@ito.uni-stuttgart.de (Jens Schweikhardt)
|
|
|
|
|
|
| |
list the processes belonging to a particular user without having to use
`-u' and grepping for the username. Basically you can now get a short
`ps -x' like list (with more space for the command) for other users.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
traditional behaviour, and it violates Posix.2.
Fixes PR # bin/880: /bin/sh incorrectly parse...
Fixes also an earlier problem report about the shell not evaluating
loops correctly. (Not files via GNATS.)
Submitted by: nnd@itfs.nsk.su (Nickolay N. Dudorov)
|
|
|
|
| |
sh's builtin/bltin.h.
|
|
|
|
|
| |
was a valid integer. The actual decision between integer and string
is now context-dependant on the operator being used.
|
|
|
|
|
|
| |
noticed on a NetBSD bugs mailing list but this is entirely my own work.
Inspired by: Scott Reynolds <scottr@plexus.com>, for NetBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means that a script containing:
echo 1
set -v
echo 2
will now produce output, like it does on SYSV machines and other 'proper'
/bin/sh implementations..
This is done by a slight restructure of the input processor allowing it to
read chunks from the file at a time, but process the data by line from the
chunk.
Obtained from: Christos Zoulas for NetBSD. <christos@deshaw.com>
|
| |
|
|
|
|
| |
sense symlink even it is unresolved
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add setlocale LC_TIME
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
o fix brokeness for 1>&5 redirection, where `5' was an invalid file
descriptor, but no error message has been generated
o fix brokeness for redirect to/from myself case
|
|
|
|
|
|
|
|
|
| |
command and badly needed in sh(1) for everybody who wants to modify
the system-wide limits from inside /etc/rc.
The options are similar to other system's implemantations of this
command, with the FreeBSD additions for -m (memoryuse) and -p (max
processes) that are not available on other systems.
|
|
|
|
| |
Since the broken version went into 2.1, this fix should, too.
|
|
|
|
|
|
|
|
|
| |
`mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'. The
latter caused a panic. Before the trailing slash changes in the kernel,
the trailing slashes caused the rename() for this mv to fail earlier, so
there was no panic in 2.0.
Fixes part of PR 760.
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
| |
This also fixes loss of the sticky bit for `mv' across file systems.
|
|
|
|
|
| |
This has been broken since cat's own err() function was sloppily
replaced by the library functions warn() and err().
|
|
|
|
| |
avoid "duplicate definition" warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sh -c [-aCefinuvx] command_string [ command_name [argument ...] ] 1
4.56.3 Options
-c Read commands from the command_string operand. Set the
value of special parameter 0 (see 3.5.2) from the value of
the command_name operand and the positional parameters
($1, $2, etc.) in sequence from the remaining argument
operands.
Pointed out by: Kaleb Keithly (kaleb@x.org)
|
| |
|
|
|
|
| |
unceumbered ed. Remove the superfluous .if (...) / .endif
|
|
|
|
|
| |
will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile
to be cleaned up.
|
| |
|
|
|
|
|
|
|
|
| |
allow more than two tty characters.
David Greenman pointed out that when a process that had been revoked from
it's controlling tty, the "-" sign was detached from any two-character
names.
|
|
|
|
|
|
| |
Also mention sockets in the text for -F.
Partially obtained from the NetBSD commit mail list.
|
|
|
|
|
|
| |
while { sleep 1 & wait; } do echo 1; done
corrupted the job table every 4th iteration.
|
|
|
|
|
|
|
| |
e.g.:
ls |> foo.out
sh now behaves the same as it does under SunOS 4.x for this case.
|