Up to [local] / src / bin / ksh
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 28 13:34:59 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
HEAD
Changes since 1.33: +10 -10 lines
Diff to previous 1.33 (colored)
When system calls indicate an error they return -1, not some arbitrary 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.
Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 15 16:51:29 2018 UTC (6 years, 2 months ago) by anton
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.32: +19 -19 lines
Diff to previous 1.32 (colored)
Favor usage of __func__ in warning/error messages. Some of them referred to the wrong function and fix the rest for consistency. Diff from Michael W. Bombardieri with some cosmetic cleanup applied. ok benno@ tb@
Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 16 22:52:32 2018 UTC (6 years, 4 months ago) by jca
Branch: MAIN
Changes since 1.31: +18 -18 lines
Diff to previous 1.31 (colored)
Introduce internal_warningf() and mark internal_errorf() as noreturn This helps tools like scan-build, and follows the example of warningf() and errorf(). ok anton@
Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 20 00:01:21 2016 UTC (8 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)
Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0]) idioms. Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0) where it is obvious further investigation will not yield and even better way. Obviousness evaluation and ok guenther@
Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 14 13:59:42 2015 UTC (8 years, 5 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.29: +5 -1 lines
Diff to previous 1.29 (colored)
Move system headers from sh.h to those files that actually need them. ok mmcc@ a while ago
Revision 1.29 / (download) - annotate - [select for diffs], Thu Nov 12 04:04:31 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)
Use isdigit() instead of ksh's homebrewed alternative. ok nicm@. Also discussed with millert@ and guenther@.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Nov 1 23:31:54 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)
aresize() -> areallocarray() ok nicm@
Revision 1.27 / (download) - annotate - [select for diffs], Sun Nov 1 15:43:55 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)
Drop a needless cast of a void *.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Oct 23 17:22:43 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.25: +1 -6 lines
Diff to previous 1.25 (colored)
Remove three strange and unused preproc defines. Submitted by Ilya Kaliman. ok nicm@
Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 19 14:42:16 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)
Move string.h include from sh.h to the files that use it. ok nicm@
Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 19 14:03:21 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)
Move limits.h include from sh.h to the files that actually need it. No binary change. ok nicm@
Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 19 02:15:45 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)
Apply style(9) to header includes. ok nicm@
Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 18 07:28:24 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)
Last of the (thing *)0 -> NULL, from Michael McConville. No binary change.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Sep 17 14:21:33 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)
Remove unnecessary casts, from Michael McConville. No binary change.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Sep 15 20:59:05 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.19: +17 -22 lines
Diff to previous 1.19 (colored)
Expand the one use of POP_INT() macro into if()s and fix some errors (now that llnum is long long, int needs to be sign extended on all platforms, not just when sizeof(int) < sizeof(long); and sign extend %ld, %li and %i as well as %d. Also simplify the code for %p since pointers are always sizeof (long). ok tedu
Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 15 18:15:05 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)
correct spelling of NULL from (char *)0. from Michael McConville. ok md5
Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 14 09:42:33 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)
Apply the ancient art of tedu to ksh_limval.h. ok guenther
Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 13 19:43:42 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.16: +1 -160 lines
Diff to previous 1.16 (colored)
zap unused FP support. from Michael McConville. ok nicm
Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 19 17:36:09 2013 UTC (11 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.15: +29 -23 lines
Diff to previous 1.15 (colored)
Add support for printing long long (%lld). OK deraadt@
Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 2 00:48:33 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)
use SEEK_* for lseek()
Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 11 18:53:51 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.13: +1 -61 lines
Diff to previous 1.13 (colored)
remove unused variables and functions
Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 30 17:16:37 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.12: +66 -72 lines
Diff to previous 1.12 (colored)
lots of indentation cleanup, now ksh is readable like our other code. double checked to make sure no binaries change, and eyed by niallo
Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 28 21:28:22 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
spacing
Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 20 11:34:26 2004 UTC (19 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.10: +24 -69 lines
Diff to previous 1.10 (colored)
Ansification plus some minor knf. No binary change on i386 and sparc64, binary change in lex.o on macppc due to introduction of dopprompt() prototype. ok millert@
Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 18 22:35:41 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)
Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC)
Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 18 20:55:52 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.8: +9 -38 lines
Diff to previous 1.8 (colored)
Remove unused OS dependent #ifdef blocks, #defines and macro abstraction. First step in making the ksh code easier to read. From Matthias Kilian
Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 28 09:45:09 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)
typos; from Brian Poole
Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 21 23:12:04 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1,
OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)
Bug fixes from pdksh-5.2.14-patches.1: o set -x dumps core (shf.c); o "typeset -r foo=bar" fails saying foo is readonly (var.c).
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 15 01:18:36 1999 UTC (25 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.5: +22 -5 lines
Diff to previous 1.5 (colored)
patches from pdksh 5.2.13.11
Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 19 20:41:56 1999 UTC (25 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE,
OPENBSD_2_5
Changes since 1.4: +9 -1 lines
Diff to previous 1.4 (colored)
Updates from pdksh-unstable-5.2.13.7. Most notable change is: trap: exit traps now executed in subshells (without explicit exit call). See the Changelog for a full list of changes.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 29 04:09:21 1998 UTC (25 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)
Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions of 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...
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 19 13:58:46 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)
back out
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 18 22:42:43 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)
(foo *)0 -> NULL
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 14 06:19:11 1996 UTC (27 years, 10 months ago) by downsj
Branch: pdksh
CVS Tags: pdksh-527
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
Import pdksh 5.2.7.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 14 06:19:11 1996 UTC (27 years, 10 months ago) by downsj
Branch: MAIN
Initial revision