summary refs log tree commit diff
path: root/src/var.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@stack.nl>2010-09-08 16:17:28 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-09-08 16:17:28 +0800
commit80bbe35591f67679c2132e97b0e016f33510830e (patch)
tree7e7e3221bc963da63722cb701f2604dd4880745e /src/var.h
parent[EVAL] Check exit for eval NSUBSHELL (diff)
downloaddash-80bbe35591f67679c2132e97b0e016f33510830e.tar.gz
dash-80bbe35591f67679c2132e97b0e016f33510830e.zip
[VAR] Fix varinit ordering that broke fc
Git commit 0df96793ef6aa103df228d7dfe56099b7d721a15 "[SHELL] Add
preliminary LINENO support" added the LINENO variable in the middle of
other initialized variables, causing some macros for TERM and HISTSIZE
to break (both of these are only used if libedit support is compiled in,
which is not the case by default).

The breakage is the same as can be seen by setting HISTSIZE=0.

Also add a comment warning about this.

Reported-by: Wez Furlong <kingwez@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions