| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
stealing ki_spare[0] to hold a pointer.
|
|
|
|
| |
issues bde pointed out.
|
|
|
|
| |
Approved by: ceri (mentor)
|
|
|
|
|
|
|
|
| |
defined in user's $HOME/.login_conf.
PR: bin/75001
Submitted by: Rostislav Krasny
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
| |
an initial value.
|
| |
|
|
|
|
| |
an initial value.
|
| |
|
|
|
|
|
|
|
| |
malloc(9) statistics from kernel memory or a kernel coredump, to catch
up with recent changes to adopt per-CPU malloc(9) statistics. The new
routines walk the per-CPU statistics pools and coalesce them for
presentation to the user.
|
|
|
|
|
| |
statistics, not graph and statistical test output. Useful for automated
processing.
|
|
|
|
| |
Noticed by: juli
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
sections, so that users of one can learn about the others easily.
|
|
|
|
| |
Approved by: bms (mentor)
|
|
|
|
|
|
| |
the string. Until now this caused no harm, because the buffer code used
to tack two NULs onto buffers. With the new, soon to come, parsing code
this isn't the case anymore in all cases, so fix this.
|
|
|
|
|
|
| |
Makefile.
Requested by: ru
|
|
|
|
|
|
|
| |
string to the end of the error message. I think we used errx()
there when we really wanted an err().
MFC after: 1 week
|
|
|
|
|
|
| |
this clear by constifying the return value.
Obtained from: DragonFlyBSD
|
|
|
|
|
|
| |
to has always been set to NULL for some time now.
Obtained from: DragonFlyBSD
|
|
|
|
| |
the default shell in the Makefile.
|
| |
|
|
|
|
| |
with %jd.
|
|
|
|
|
|
| |
consistency with the rest of make.
Obtained from: DragonFlyBSD (except for the rename)
|
|
|
|
|
|
|
| |
rename the function to be consistent with the naming scheme in the rest
of make. No functional changes.
Obtained from: DragonFlyBSD (idea and most of shell.h)
|
|
|
|
|
|
| |
the default shell.
Idea from: DragonFlyBSD
|
|
|
|
|
|
| |
before executing the shell. Until now this was done when the default
shell was the ksh. This failed if the default shell was sh or csh and
the user switched to ksh.
|
|
|
|
| |
target.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
set the current shell to DEFSHELL. Put all these specifications into
a list. Add user specified new shells to this list. If the user
just selects one of the already know shells just pick the right one
off the list. This let's one do something like:
# Full specification of the user's shell. This also selects the shell.
.SHELL: name=myshell path=/somewhere/foo echo=loud ...
FOO != bar # use myshell here
.SHELL: name=sh
BAR != baz # use /bin/sh here
.SHELL: name=myshell # no need for full spec here.
# continue to use the user's special shell.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the list of shell builtins. Both of these are needed for the compat
mode where make directly executes commands if the command line contains
neither a shell meta character nor a shell builtin. The list of builtins
is not changed, but csh has '@' added as a meta-character.
Initialize the default shell by parsing a string as one would specify
to the .SHELL target. So we get rid of the CShell clone of struct Shell which
just contained const char * where struct Shell had char *.
Add a debugging function for dumping a parsed shell description to
stdout.
|
|
|
|
| |
It will soon be needed for the .SHELL parsing code.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
introduce a struct that holds all the information about an argument
vector and pass that around.
Author: Max Okumoto <okumoto@ucsd.edu>
Obtained from: DragonFlyBSD
|
|
|
|
|
|
|
| |
last version and (2) remove a disabled debugging fprintf() that I
accidentally committed here.
Noticed by: simon (2)
|
|
|
|
|
|
|
|
|
|
|
| |
command that toggles between the two and update the ORDER_PCTCPU()
macro to sort correctly by the visible "cpu" value.
This saves 6 more columns in 80-column terminals, making things a lot
better for the COMMAND column.
Tested on: i386, sparc64 (panther), amd64 (sledge)
Approved by: davidxu (in principle)
|
|
|
|
|
|
|
| |
in two places. While here don't bother returning anything from
Lst_Replace - nobody ever checks the return code.
Suggested by: jmallet
|
|
|
|
|
| |
pointer causes problems with sign extension and leads to compress(1)
dumping core on any non-trivial incoming data.
|
|
|
|
|
|
|
|
| |
in [a-z] bracket expressions, until a more complete fix (like handing BREs)
is ready.
Prodded by: ache
OK'ed by: tjr
|
|
|
|
| |
(from the sys.mk rule) while still installing it under the "zless" name.
|
|
|
|
|
|
|
|
|
| |
similar to the zmore script that comes with gzip (and in fact, in most
Linux distros, zless is a symlink to that very same zmore script) but has
the advantage that you get the correct file name on the less status line,
and can use :n and :p to navigate back and forth between multiple files.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
there are users on the system (even if not running a single process)
with a login > 8 chars.
I'm not all that happy limiting the username width like this, but it
restores sanity to top(1) output.
Discussed with: keramida
|
|
|
|
| |
Suggested by: phantom
|
|
|
|
|
|
|
|
|
| |
after that many values have been printed. The line length is not
considered anymore.
o Add option -x. The -x option will cause the byte values to be
printed in hexadecimal instead of decimal.
o Bump WARNS to 6.
o Update the manpage accordingly.
|