Age | Commit message (Collapse) | Author |
|
and file system traversal;
this is work from Ingo Schwarze, tweaked a little by myself,
and we borrowed half a sentence from the netbsd man page too;
ok sobrado
|
|
ok jmc@
|
|
|
|
the regular expression then the current line number remains unchanged;
|
|
matthieu@ millert@
|
|
-p mode we only want to change the mode on directories we actually created.
|
|
handling. Closes PR 5908. OK deraadt@
|
|
- list -f in the -cStu "exclusive group" (we already document that -f
overrides these options)
- note that our implementation of -f differs from posix
- -k and -u do not override each other: those options are not used together
ok sobrado
|
|
|
|
behaviour now similar to netbsd/freebsd/solaris.
- make -gn and -ng combinations behave identically: long listing, numeric
group ID, no user ID. currently -g overrides -n. behaviour now similar to
netbsd/solaris.
- allow -m and -x to override -1Cgln (and each other) if specified last.
currently -m and -x can be overriden even if they are specified last.
behaviour now similar to netbsd/freebsd. fixes PR 5785 from
Jacek Masiulaniec.
- update man page to reflect reality.
ls.c diff based on Jacek Masiulaniec's diff from PR 5785, and extended by
sobrado. this work is really a joint effort from sobrado and myself.
i don't know about igor, but this particular diff has nearly killed me...
ok millert otto
|
|
the leaked memory is actually reclaimed when the command
finishes but may grow until that happens, e.g. during
command execution.
ok phessler@.
testing sobrado@ jmc@ oga@.
|
|
while here, some KNF improvements.
based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.
ok millert@, pyr@; (for the manual page tweaks) jmc@
|
|
reported by Thorsten Glaser, thanks.
ok millert@, earlier version miod@
|
|
|
|
ok millert@
|
|
|
|
contains a '#' character. Make it also accept the \$ PS1 sequence
(which is supposed to automagically be $ or # depending on the user
running the shell) unless ksh has been started in sh-compatibility
mode.
pointed out by millert@ when I asked why my SUDO_PS1 was not being
honoured; ok millert@
|
|
report and testing by david@; ok millert@ jaredy@
|
|
from Pierre Riteau
ok otto
|
|
|
|
you to install the bzip2 pkg (or add bzip2 in another way).
ok millert@ otto@ deraadt@ and 'many others'@
man page tweak from jmc@
|
|
EACCES. From Tim van der Molen; ok millert@ ray@
|
|
getpass().
With input by and ok otto
|
|
wrap options around to fill out the 80 columns; spacing.
tweaked by jsing@, thank you very much!
ok jsing@
|
|
to the same inode. This is consistent with other implementations.
OK deraadt@ miod@ ray@
|
|
use the right capitalization for "sendmail".
tweaks by jmc@ and jsing@, thanks!
ok jmc@, jsing@, millert@
|
|
|
|
underflows. fixes fc -l 1 in my box where line is 1667511151.
krw@ ok.
|
|
ok (some time ago) jmc@
|
|
|
|
not one changed, we should not exit with an error but zero to indicate
success (matches solaris behaviour).
need to track wether files were skipped because of the -u checks for that
and take that into account later when taking the exit code decision.
ok theo, comments from otto and miod
|
|
directory cannot be written and ~/ed.hup path has to be built up. Also
pay special care that HOME is an absolute path name.
With input by millert.
ok deraadt, millert
|
|
while here, make the description of -m more consistent for mkdir,
mkfifo, and mknod.
add a touch of .Ex for mkdir too.
|
|
from Jacek Masiulaniec, via ray@
ok ray@
|
|
like bash and zsh do. Requested by espie@, OK deraadt@
|
|
ok sobrado
|
|
|
|
a single time before we print anything, if needed. Uses a flag to
specify which formats need the kernel info donlist() provides.
OK deraadt@
|
|
I got fooled by patch(1). Sorry.
|
|
but only do the final popfile call after yyparse() is done.
This also fixes config reload on SIGHUP for some daemons.
Spotted by otto@. OK deraadt@
|
|
|
|
policies since mkdir(2) will be called for each directory in the path,
even things like / or /usr. We now use a hybrid approach uses stat(2)
until either we find something missing or we reach that last component.
Then we switch to calling mkdir(). Tested by bernd@ and chl@
|
|
|
|
ok krw@
|
|
|
|
of date for ever (no ksh builtins), and since we have two shells, pointing
to one page or the other is never going to work; so remove MLINKS for
csh(1); the cd(1) and wait(1) pages (also builtins); and update any trailing
Xr's;
please, there are tools like whence, man, and locate for finding this stuff;
ok deraadt miod
|
|
race condition in mkdir -p that may lead to an erroneous successful exit status.
reported by Ralf Wildenhues <Ralf.Wildenhues at gmx.de>
fix based on a suggested patch by Bruno Carnazzi <bcarnazzi at gmail.com>,
largely inspired by NetBSD mkdir()s implementation
looks OK otto@ OK millert@
|
|
OK otto@
|
|
as close as we can get given that it's used unsigned. Matches
recent change to scp.c, prompted by djm@
|
|
"warning: field width is not type int"
"looks good" otto@
|