| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
|
|
|
| |
No binary change on amd64 and there should be no differences on any
other 64 bit architecture either (because long = int64_t).
ok cheloha, tb
|
|
|
|
|
|
|
| |
wrong function and fix the rest for consistency.
Diff from Michael W. Bombardieri with some cosmetic cleanup applied.
ok benno@ tb@
|
|
|
|
|
| |
This helps tools like scan-build, and follows the example of warningf()
and errorf(). ok anton@
|
|
|
|
|
|
| |
it's rarely subject to change. While here, unifdef RLIMIT_VMEM.
ok jca@
|
|
|
|
| |
ok mmcc@ a while ago
|
|
|
|
| |
ok nicm@. Also discussed with millert@ and guenther@.
|
|
|
|
| |
ok nicm@
|
|
|
|
| |
ok nicm@
|
|
|
|
| |
ok md5
|
|
|
|
| |
no binary changes.
|
|
|
|
|
| |
prompted by henning@
okay millert@, krw@, pirofti@
|
|
|
|
| |
like bash and zsh do. Requested by espie@, OK deraadt@
|
|
|
|
|
|
| |
long value; catches some 32 bit overflows on 32 bit platforms.
Found by drahn@, ok otto@
|
|
|
|
| |
stupid EOF concept that was never true. adobriyan@gmail
|
|
|
|
| |
double checked to make sure no binaries change, and eyed by niallo
|
|
|
|
|
|
|
| |
expressions. Work by Matthias Kilian, based on an old diff by myself.
Note: MAKEDEV should be updated. Tested by many, thanks.
ok millert@ deraadt@
|
|
|
|
|
| |
sparc64, binary change in lex.o on macppc due to introduction of
dopprompt() prototype. ok millert@
|
|
|
|
| |
First step in making the ksh code easier to read. From Matthias Kilian
|
|
|
|
| |
ok deraadt@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some that we had already fixed locally.
o typeset -f FUNC doesn't print follows command (and expression) substitutions.
o when re-allocating memory, too much may be copied from old memory.
o set -o printed some options sans names.
o emacs mode: <esc>. in very fist command causes core dump.
o pdksh dumps core after a cd command.
o typeset -i reports on array elements that have no value
(at&t ksh reports on array base name - no index).
o ulimit -ctn unlimittttted kills shell (resource exceeded).
o ". /dev/null" says access denied.
o flag field in aliases incorrectly changed (all flags set instead of
clearing ISSET) in exec.c(flushcom).
o ${#array[*]} prints largest index instead of number of (set) elements
in an array (ksh88 does the former).
o sys_siglist[] doesn't always have NSIG non-null entries...
|
|
|
|
|
|
| |
Results in: ksh: ulimit: "unlimitted" is not a valid limit
Not: Killed (because it treated the word as 0).
Noticed by mickey@openbsd.org
|
| |
|
| |
|
|
|