OpenBSD CVS

CVS log for src/bin/ksh/var.c


[BACK] Up to [local] / src / bin / ksh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.73 / (download) - annotate - [select for diffs], Sun Jul 23 23:42:03 2023 UTC (10 months, 2 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.72: +9 -1 lines
Diff to previous 1.72 (colored)

avoid MAIL* environment variables to save a few bytes in install media

ksh(1) MAIL, MAILCHECK, MAILPATH mbox handling is useless in the installer.

OK miod deraadt

Revision 1.72 / (download) - annotate - [select for diffs], Fri Mar 5 15:22:03 2021 UTC (3 years, 3 months ago) by zhuk
Branch: MAIN
CVS Tags: 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
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Fix old ksh bug: wrong variable being looked up when value is provided.

This results, e.g., in allowing the first item of a read-only array to
be overwritten, as found by Jordan Geoghegan.

okay tb@

Revision 1.71 / (download) - annotate - [select for diffs], Fri Feb 21 18:21:23 2020 UTC (4 years, 3 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.70: +5 -1 lines
Diff to previous 1.70 (colored)

Enforce that TMOUT is an integer literal to prevent command execution from
the environment at shell initialization time. During  startup, ksh calls
'eval typeset -i TMOUT="${TMOUT:-0}"'. which allows command injection via
arithmetic expansion, e.g., by setting TMOUT to 'x[`/bin/echo Hi >&2`]'.

Problem noted by Andras Farkas and tj, inspired by a similar issue in
AT&T's ksh. Tested in snaps for two weeks.

"go for it" deraadt

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jun 18 21:46:05 2018 UTC (5 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().
Suggested by anton@

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jun 18 17:03:58 2018 UTC (5 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.68: +19 -2 lines
Diff to previous 1.68 (colored)

Add clear-screen emacs editing command, currently not bound to a
key by default.  The shell will query the terminfo database to
find the escape sequence to clear the screen.  OK deraadt@

Revision 1.68 / (download) - annotate - [select for diffs], Fri Apr 13 18:18:36 2018 UTC (6 years, 1 month ago) by cheloha
Branch: MAIN
Changes since 1.67: +12 -5 lines
Diff to previous 1.67 (colored)

Count $SECONDS with CLOCK_MONOTONIC.

Keeps $SECONDS advancing uniformly and independent of wall clock jumps.

ok jca@

Revision 1.67 / (download) - annotate - [select for diffs], Mon Apr 9 17:53:36 2018 UTC (6 years, 2 months ago) by tobias
Branch: MAIN
Changes since 1.66: +23 -21 lines
Diff to previous 1.66 (colored)

Support 64 bit integers on 32 bit architectures.

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

Revision 1.66 / (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_3_BASE, OPENBSD_6_3
Changes since 1.65: +3 -4 lines
Diff to previous 1.65 (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.65 / (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.64: +2 -2 lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Mon Jan 15 14:58:05 2018 UTC (6 years, 4 months ago) by jca
Branch: MAIN
Changes since 1.63: +1 -13 lines
Diff to previous 1.63 (colored)

Stop pretending we support building ksh without EDIT/HISTORY support

ok anton@

Revision 1.63 / (download) - annotate - [select for diffs], Sat Jan 6 16:28:58 2018 UTC (6 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Bring back the sign compare changes, this time with a fix from otto@
that fixes the issues seen on hppa.  OK deraadt@ otto@

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jan 4 19:06:16 2018 UTC (6 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Back out sign compare changes that appear to cause problems on hppa.
Requested by deraadt@

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jan 1 19:45:56 2018 UTC (6 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
OK tb@

Revision 1.60 / (download) - annotate - [select for diffs], Wed Dec 27 13:02:57 2017 UTC (6 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.59: +10 -10 lines
Diff to previous 1.59 (colored)

Add -Wshadow to Makefile and fix the resulting warnings.  Many of
the warnings are due to the use of globals with generic names,
specifically "options" and "path".  I've renamed "options" to
"sh_options" since it holds the shell options and "path" to
"search_path".  OK jca@ tb@

Revision 1.59 / (download) - annotate - [select for diffs], Wed Aug 30 17:08:45 2017 UTC (6 years, 9 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.58: +10 -1 lines
Diff to previous 1.58 (colored)

Implement HISTCONTROL ignoredups & ignorespace features

ignoredups: don't save the current line if it is identical to the last
history line.
ignorespace: don't save the current line if it starts with a space

ok anton@ millert@

Revision 1.58 / (download) - annotate - [select for diffs], Wed Aug 30 10:18:48 2017 UTC (6 years, 9 months ago) by jca
Branch: MAIN
Changes since 1.57: +5 -9 lines
Diff to previous 1.57 (colored)

No need for NULL checks before afree()

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 8 15:50:50 2016 UTC (7 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (colored)

Add KSH_IGNORE_RDONLY flag and use it in var.c instead of the 0x4
magic number.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 8 15:47:16 2016 UTC (7 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.55: +7 -2 lines
Diff to previous 1.55 (colored)

Allow "typeset -ir FOO" if FOO is not already marked read-only.  OK tb@

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 30 09:07:00 2015 UTC (8 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.54: +14 -14 lines
Diff to previous 1.54 (colored)

rename global "e" to genv to avoid accidental shadowing and aliasing.
ok millert nicm tb

Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 14 13:59:42 2015 UTC (8 years, 5 months ago) by tb
Branch: MAIN
Changes since 1.53: +4 -1 lines
Diff to previous 1.53 (colored)

Move system headers from sh.h to those files that actually need them.

ok mmcc@ a while ago

Revision 1.53 / (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.52: +2 -1 lines
Diff to previous 1.52 (colored)

Move string.h include from sh.h to the files that use it.

ok nicm@

Revision 1.52 / (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.51: +2 -1 lines
Diff to previous 1.51 (colored)

Move limits.h include from sh.h to the files that actually need it. No
binary change.

ok nicm@

Revision 1.51 / (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.50: +5 -3 lines
Diff to previous 1.50 (colored)

Apply style(9) to header includes.

ok nicm@

Revision 1.50 / (download) - annotate - [select for diffs], Tue Sep 22 21:50:40 2015 UTC (8 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Make errorf() and bi_errorf() handle a NULL argument.
From Michael McConville; OK nicm@

Revision 1.49 / (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.48: +3 -3 lines
Diff to previous 1.48 (colored)

Last of the (thing *)0 -> NULL, from Michael McConville. No binary
change.

Revision 1.48 / (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.47: +5 -5 lines
Diff to previous 1.47 (colored)

Remove unnecessary casts, from Michael McConville. No binary change.

Revision 1.47 / (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.46: +8 -8 lines
Diff to previous 1.46 (colored)

correct spelling of NULL from (char *)0. from Michael McConville.
ok md5

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 14 16:08:50 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Replace Tflag typedef with just int; ok tedu

Revision 1.45 / (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.44: +1 -2 lines
Diff to previous 1.44 (colored)

Apply the ancient art of tedu to ksh_limval.h. ok guenther

Revision 1.44 / (download) - annotate - [select for diffs], Thu Sep 10 11:37:42 2015 UTC (8 years, 9 months ago) by jca
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Kill another superfluous variable initialization; from Michael McConville.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Sep 1 13:12:31 2015 UTC (8 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.42: +9 -15 lines
Diff to previous 1.42 (colored)

remove casts and null checks before free. from Michael McConville
ok deraadt

Revision 1.42 / (download) - annotate - [select for diffs], Wed Aug 19 16:05:46 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (colored)

Don't re-include headers pulled by "sh.h".  (I actually don't like this .h
pulls in system .h pattern)

Revision 1.41 / (download) - annotate - [select for diffs], Fri Apr 17 17:20:41 2015 UTC (9 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.40: +13 -3 lines
Diff to previous 1.40 (colored)

Use getint() instead of intval() for parsing the columns variable,
allowing the addition of more accurate bounds and garbage checks.
ok millert

Revision 1.40 / (download) - annotate - [select for diffs], Fri Dec 12 05:00:55 2014 UTC (9 years, 6 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Range check the value of the base for typeset -i base x=y.  Instead of
erroring for values outside of the range switch to base 10 to match the
behaviour of ksh93.  As we have a smaller digit alphabet than ksh93 the
accepted range is smaller (2-36) than ksh93 (2-64).  The other form
of setting a base, typeset -i x=base#y already has a range check that
errors (as ksh93 also does for that syntax).
Fixes a crash found with the afl fuzzer.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Dec 8 21:48:27 2014 UTC (9 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +4 -15 lines
Diff to previous 1.38 (colored)

Don't need special complex rand vs arc4random code.  If the
standards-mandated "seed" method is used, simply call
srand_deterministic() and the subsystem switches out of strong
random mode into C89 crap mode.
ok millert

Revision 1.38 / (download) - annotate - [select for diffs], Fri Dec 20 17:53:09 2013 UTC (10 years, 5 months ago) by zhuk
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.37: +8 -5 lines
Diff to previous 1.37 (colored)

Fix a crash in ksh when trying to access ${12345678901234567890}

Input from deraadt@, millert@ and otto@.

okay from millert@ plus a willing from deraadt@

Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 18 13:53:12 2013 UTC (10 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Remove artificial limit on the max array index.
Adapted from a bitrig commit from Martin Natano.
OK zhuk@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 17 16:37:06 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +9 -9 lines
Diff to previous 1.35 (colored)

ctype cleanups.  Repeated re-audits of this sensitive area by okan and
myself, with a variety of other people spending some time as well.
Thanks.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 5 01:31:30 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

SECONDS is, in a highly theoretical way, not y2k38 safe. comment it.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Oct 15 02:16:35 2007 UTC (16 years, 8 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
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

specifying int instead of just unsigned is better style

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 2 11:05:54 2007 UTC (16 years, 10 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored)

backout last change; iff is right.
prompted by deraadt@

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 2 10:56:25 2007 UTC (16 years, 10 months ago) by fgsch
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

while i'm here: iff -> if

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 2 10:50:25 2007 UTC (16 years, 10 months ago) by fgsch
Branch: MAIN
Changes since 1.30: +5 -2 lines
Diff to previous 1.30 (colored)

fix memory leaks and one potential null deref found by coverity. from netbsd.
millert@ ok

Revision 1.30 / (download) - annotate - [select for diffs], Sun May 21 18:40:39 2006 UTC (18 years ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

Set the index of item[0], since it might not have been set before
(A=0; A[1]=1) and do not use a static buffer in str_val, since the
results might be used in a loop. Report from jared r r spiegel; help
from Matthias Kilian; ok beck@

Revision 1.29 / (download) - annotate - [select for diffs], Mon Mar 13 08:21:37 2006 UTC (18 years, 3 months ago) by otto
Branch: MAIN
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored)

Interpret zero-filled numbers as decimal; PR 4213; from Alexey
Dobriyan; ok millert@ moritz@ jaredy@

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 11 20:31:21 2005 UTC (18 years, 6 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.27: +13 -13 lines
Diff to previous 1.27 (colored)

fix a few name clashes with libc; found by lint. ok deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Sat Oct 8 18:02:59 2005 UTC (18 years, 8 months ago) by otto
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Tell user which value of index is out of bounds. ok deraadt@

Revision 1.26 / (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.25: +69 -69 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Mon Mar 28 21:33:04 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +20 -20 lines
Diff to previous 1.24 (colored)

spacing

Revision 1.24 / (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.23: +4 -4 lines
Diff to previous 1.23 (colored)

spacing

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 2 07:53:01 2005 UTC (19 years, 4 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.22: +19 -11 lines
Diff to previous 1.22 (colored)

Introduce POSIX hex and octal (0x... and 0...) constants in arithmetic
expressions.  Work by Matthias Kilian, based on an old diff by myself.
Note: MAKEDEV should be updated. Tested by many, thanks.

ok millert@ deraadt@

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 22 17:14:34 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.21: +14 -14 lines
Diff to previous 1.21 (colored)

Use stdbool.h instead of rolling our own bools.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 20 11:34:26 2004 UTC (19 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.20: +40 -83 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Sat Dec 18 21:25:44 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.19: +38 -38 lines
Diff to previous 1.19 (colored)

deregister

Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 18 21:04:52 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.18: +1 -14 lines
Diff to previous 1.18 (colored)

Get rid of #ifdef KSH since we don't care about building a V7 style sh and
the #ifdef KSH code is required to make a POSIX sh.  From Matthias Kilian

Revision 1.18 / (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.17: +14 -14 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Sat May 8 19:42:35 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.16: +14 -3 lines
Diff to previous 1.16 (colored)

unless specifically requested by setting the seed, use arc4random(); otto ok

Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 5 20:52:27 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

Don't allow alloc() and aresize() to fail.  Their return value was
only checked in two place (both in conjunction with str_save).  Upon
malloc/realloc failure we call internal_errorf() which pops throws
and error and pops back to the last good state.  OK deraadt@ pval@ fgs@
Original problem noted by mickey@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 26 00:09:45 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

protos

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 16 23:11:52 2003 UTC (21 years, 2 months ago) by tdeval
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

string cleaning.  ok tedu@

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 13 09:03:07 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

a few strcpy -> strlcpy; a couple people have mailed in a variety of
patches, and i already had this sitting on my laptop at that time.. i used
that as a chance to note that we had all done the same work, more or less

Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 28 09:45:09 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

typos; from Brian Poole

Revision 1.11 / (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.10: +6 -4 lines
Diff to previous 1.10 (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.10 / (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.9: +104 -42 lines
Diff to previous 1.9 (colored)

patches from pdksh 5.2.13.11

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 10 17:55:03 1999 UTC (25 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.8: +12 -3 lines
Diff to previous 1.8 (colored)

sync with pdksh-unstable-5.2.13.6

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 8 20:25:02 1999 UTC (25 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.7: +12 -1 lines
Diff to previous 1.7 (colored)

bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 25 19:02:27 1998 UTC (25 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.6: +17 -3 lines
Diff to previous 1.6 (colored)

pdksh-5.2.13 + local changes

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 1 18:30:16 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

i am bored enough to fix terminal space/tab uglies

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 19 13:58:49 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored)

back out

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 18 22:42:48 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.3: +12 -12 lines
Diff to previous 1.3 (colored)

(foo *)0 -> NULL

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 1 02:05:53 1996 UTC (27 years, 8 months ago) by downsj
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Integrate pdksh 5.2.9.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 19 20:09:02 1996 UTC (27 years, 9 months ago) by downsj
Branch: MAIN
Changes since 1.1: +43 -36 lines
Diff to previous 1.1 (colored)

update to pdksh-5.2.8

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 14 06:19:12 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:12 1996 UTC (27 years, 10 months ago) by downsj
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.