| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
|
|
|
|
|
|
|
| |
sh(1)'s echo(1) builtin command.
PR: 32935, 40747
MFC after: 1 week
|
|
|
|
| |
don't support system that implement getcwd(3) with a pipe to /bin/pwd.
|
| |
|
|
|
|
|
|
| |
The pgrp member of struct job was declared as a short and could not store
every possible process group ID value, the rest of them were benign because
pid_t happens to be an int.
|
|
|
|
| |
by a signal the same as pdksh/bash/sh before rev. 1.34.
|
|
|
|
| |
src/contrib/gcc/c-format.c .
|
|
|
|
|
| |
PR: docs/33559
Submitted by: Marc Olzheim <marcolz@ilse.nl>
|
|
|
|
| |
before I made unlink use getopt().
|
|
|
|
|
|
|
| |
part of chmod(2) and sticky(8), but refer to those manpages instead.
PR: docs/35605
Submitted by: Gary W. Swearingen <swear@blarg.net>
|
|
|
|
|
|
|
|
| |
to the Makefile didn't affect this bug because WFORMAT only controls
higher- level format checking (not the -Wformat that is implicit in
-Wall).
Fixed a nearby printf format error that was benign and 3 nearby style bugs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arg 2 to err() and friends, and warnings are promoted to errors.
This allows the following revisions to be reverted:
rev 1.39 src/bin/cp/cp.c
rev 1.26 src/bin/chmod/chmod.c
rev 1.40 src/bin/rm/rm.c
The following revisions can already be reverted, because they were
already covered by WFORMAT=0:
rev 1.8 src/bin/ls/lomac.c
rev 1.63 src/bin/ls/ls.c
rev 1.8 src/bin/ps/lomac.c
rev 1.34 src/bin/rcp/rcp.c
|
|
|
|
|
|
|
|
| |
2. Instead, open /dev/tty. This problem stopped commands in subshells from
being executed correctly if standard error was redirected.
PR: 36671
Obtained from: NetBSD (but simplified)
|
|
|
|
|
| |
many other parts of the shell are no longer compatible with this, and it
makes jobs.c quite cluttered with #ifdef's.
|
| |
|
|
|
|
| |
happy about it any more so change the usage to make buildworld work again.
|
|
|
|
| |
happy about it any more so change the useage so buildworld works again.
|
|
|
|
| |
Approved by: obrien, sheldonh (mentor).
|
|
|
|
|
|
|
| |
This was broken by rev. 1.16.
PR: 40334
MFC after: 1 week
|
|
|
|
| |
descriptors (">&-" or similar) correctly in the jobs(1) command.
|
| |
|
|
|
|
| |
(-)remove the inclusions of <utmp.h>.
|
|
|
|
| |
may try to make about the alignment of the dereferenced datum.
|
| |
|
|
|
|
| |
<stdint.h> macros.
|
|
|
|
|
| |
PR: bin/40177
MFC after: 1 week
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provided the (previously missing) dependency on source files
for intermediate .msg files.
Provided the default for NLSSRCDIR (defaults to .CURDIR).
Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.
When included from bsd.prog.mk, NLSNAME defaults to PROG.
|
|
|
|
|
| |
PR: 40053
Submitted by: Dan Lukes <dan@obluda.cz>
|
|
|
|
| |
Description section for consistency with other manpages.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
giving a more sensible warning when the (relatively meagre) sun_path
limit is exceeded.
|
|
|
|
| |
linking into a directory.
|
| |
|
|
|
|
| |
needed to be adjusted.
|
|
|
|
| |
this in the Standards section.
|
|
|
|
| |
the last two synopsis forms.
|
|
|
|
|
|
|
|
|
|
| |
and a warning that this "restricted mode" can be bypassed easily by
using symlinks, so that users don't depend too much on it.
PR: docs/35940
Submitted by: Gary W. Swearingen <swear@blarg.net>
Reviewed by: jmallett
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
second character represents some option taking an argument. This fixes
problem when ps(1) is invoked for examply as follows:
$ ps -Ufoobar1234
the above example results in option string being interpreted as
-U foobarp1234 - note extra `p'.
Reported by: Vladimir Sotnikov <vovan@kyivstar.net>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
proper parens mean that fd is always set by open(2) [in any part of C],
and so we can accurately check for it returning -1, without feeling like
we need to initialise fd to -1 in its declaration.
In other words, fix a stylistic/bogus nit.
|
|
|
|
|
|
|
| |
memory leak by assigning and freeing a variable appropriately as well as
keeping track of the amount of allocated ram properly.
MFC after: 1 month
|
|
|
|
| |
use main() to do it locally.
|
| |
|
|
|
|
| |
Don't discard qualifiers we don't need to discard.
|
|
|
|
|
|
|
|
|
| |
reality (and POSIX): current directory isn't searched unless CDPATH has
a "." element or is unset.
PR: 38442
Submitted by: oleg dashevskii <be9@be9.ru>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
a "--" argument after the options so filenames with leading dashes are
handled correctly.
PR: 39318
Submitted by: Serge van den Boom <svdb@stack.nl>
MFC after: 1 week
|