reopen 619725 0.5.6.1-1~exp1
retitle 619725 dash: local should not be a special builtin
tags 619725 - patch
quit
Hi,
Jilles Tjoelker wrote:
>> [false || local() { ...; } is a syntax error]
>
> Although I don't think special builtins shall be valid function names, I
> think there is still a bug i
> [false || local() { ...; } is a syntax error]
Although I don't think special builtins shall be valid function names, I
think there is still a bug in dash here: 'local' should not be a special
builtin.
When 'local' was made a special builtin, I remarked on the dash mailing
list that that change
Package: dash
Version: 0.5.6.1-1~exp2
Severity: important
Justification: autogen ftbfs with dash as /bin/sh
Tags: upstream patch
$ texi2dvi
/usr/bin/texi2dvi: 144: /usr/bin/texi2dvi: Syntax error: Bad function name
$ sed -ne 144p /usr/bin/texi2dvi
) || local () {
$ dash -c 'true || local () { echo
3 matches
Mail list logo