Bug#687450: checkbashisms: please add bounds check for "exit"
Thorsten Glaser
tg at mirbsd.de
Wed Sep 12 20:27:33 UTC 2012
Package: devscripts
Version: 2.12.2
Severity: wishlist
Hi,
please add a check to checkbashisms that "exit" has exactly
0 or 1 argument and, if it has one, it's a number between 0
and 255 inclusive. Note that "exit" doesn't support "--" as
argument separator portably either, and "exit -1" has never
been portable.
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBCHANGE_MAINTTRAILER=no
DEBCHANGE_MULTIMAINT_MERGE=yes
DEBCHANGE_RELEASE_HEURISTIC=log
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
m68k
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh
Versions of packages devscripts depends on:
ii dpkg-dev 1.16.8
ii libc6 2.13-35
ii perl 5.14.2-12
ii python 2.7.3-2
Versions of packages devscripts recommends:
pn at <none>
ii curl 7.27.0-1
ii dctrl-tools 2.22.2
ii debian-keyring 2012.06.01
ii dput 0.9.6.3
ii equivs 2.0.9
ii fakeroot 1.18.4-2
ii gnupg 1.4.12-4+b1
ii libcrypt-ssleay-perl 0.58-1
pn libdistro-info-perl <none>
pn libjson-perl <none>
pn libparse-debcontrol-perl <none>
pn libsoap-lite-perl <none>
ii liburi-perl 1.60-1
ii libwww-perl 6.04-1
ii lintian 2.5.10.1
ii man-db 2.6.2-1
ii patch 2.6.1-3
ii patchutils 0.3.2-1.1
ii python-debian 0.1.21+nmu1
pn python-magic <none>
ii sensible-utils 0.0.7
ii strace 4.5.20-2.3
ii unzip 6.0-7
ii wdiff 1.1.2-1
ii wget 1.14-1
ii xz-utils 5.1.1alpha+20120614-1
Versions of packages devscripts suggests:
ii bsd-mailx [mailx] 8.1.2-0.20111106cvs-1
ii build-essential 11.5
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn gnuplot <none>
pn libauthen-sasl-perl <none>
pn libfile-desktopentry-perl <none>
pn libnet-smtp-ssl-perl <none>
pn libterm-size-perl <none>
ii libtimedate-perl 1.2000-1
pn libyaml-syck-perl <none>
pn mutt <none>
ii openssh-client [ssh-client] 1:6.0p1-3
pn svn-buildpackage <none>
pn w3m <none>
-- no debconf information
More information about the devscripts-devel
mailing list