Your message dated Sun, 20 Sep 2009 22:28:38 +0000
with message-id <[email protected]>
and subject line Bug#465250: fixed in pdksh 5.2.14-25
has caused the Debian Bug report #465250,
regarding pdksh: 4-argument test "test \( ! -e \)" yields an error
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
465250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465250
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdksh
Version: 5.2.14-21
Severity: normal
According to POSIX[*], "test \( ! -e \)" is a 4-argument test and is
here equivalent to "test ! -e". Note: here "-e" is not a switch, just
an non-empty string like in "test ! -e". But pdksh (like ksh93, bash
and dash, for which a bug has also been reported) yields an error:
$ test \( ! -e \) || echo $?
pdksh: test: missing closing paren
2
However this one is correct:
$ test ! -e || echo $?
1
The "test" utility from the Coreutils on the 4-argument test is correct:
$ /usr/bin/test \( ! -e \) || echo $?
1
(ditto with the latest zsh versions).
[*] http://www.opengroup.org/onlinepubs/009695399/utilities/test.html
In particular, see the text starting at "The algorithm for determining
the precedence of the operators".
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23.13-ws-intel64-p4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages pdksh depends on:
ii debianutils 2.28.3 Miscellaneous utilities specific t
ii libc6 2.7-6 GNU C Library: Shared libraries
pdksh recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: pdksh
Source-Version: 5.2.14-25
We believe that the bug you reported is fixed in the latest version of
pdksh, which is due to be installed in the Debian FTP archive:
pdksh_5.2.14-25.diff.gz
to pool/main/p/pdksh/pdksh_5.2.14-25.diff.gz
pdksh_5.2.14-25.dsc
to pool/main/p/pdksh/pdksh_5.2.14-25.dsc
pdksh_5.2.14-25_i386.deb
to pool/main/p/pdksh/pdksh_5.2.14-25_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Robert Luberda <[email protected]> (supplier of updated pdksh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 20 Sep 2009 21:32:53 +0200
Source: pdksh
Binary: pdksh
Architecture: source i386
Version: 5.2.14-25
Distribution: unstable
Urgency: low
Maintainer: Robert Luberda <[email protected]>
Changed-By: Robert Luberda <[email protected]>
Description:
pdksh - A public domain version of the Korn shell
Closes: 190566 387755 465250
Changes:
pdksh (5.2.14-25) unstable; urgency=low
.
* Applied changes from mksh:
+ 109_mksh-delete_key.patch: make delete key work (closes: #190566);
+ 111_mksh-set-e.patch: fix set -e handling (closes: #387755, cf. #546332);
remove 002_upstream-set-e.patch, it's no longer needed.
.
* Patches from OpenBSD:
+ 112_OpenBSD-test.patch: make test(1) operator precedence consistent
with POSIX;
+ 113_OpenBSD-memory.patch: fix a few memory leaks;
+ 114_OpenBSD-let-crash.patch: fix `let --' crash;
+ 115_OpenBSD-echo-posix.patch: allow only `-n' option to `echo' in POSIX
mode;
+ 116_OpenBSD-history.patch: infinite loop in history.
.
* Debian patches:
+ 110_Debian-exit-negative-number.patch: fix `exit -1' handling
(cf. #502934).
+ 117-Debian-test.patch: fix 4-argument test (closes: #465250).
.
* Refresh other patches when needed.
* Add a few regression tests, call make test during build.
Checksums-Sha1:
8be0cd8f3110e3e7d8ee4fd8815c8f0ab882314f 958 pdksh_5.2.14-25.dsc
f98176a9f5696562f2a0cb5c9936a5d260388ab6 44652 pdksh_5.2.14-25.diff.gz
055c002734b8bd41fb7ea4bea51a30c60245a978 264818 pdksh_5.2.14-25_i386.deb
Checksums-Sha256:
94c43bf1c68943507794bc2b04b68f754cecb424f9a4bec473b4fcc16e327593 958
pdksh_5.2.14-25.dsc
86483983b280fdac40f1906115da714994195841b015c16bac504e5d54895a30 44652
pdksh_5.2.14-25.diff.gz
59ae7c73da0c44c4d4aa5d15c7a3596e7b12a777dcb09a114513210f164578a2 264818
pdksh_5.2.14-25_i386.deb
Files:
c420216a8d0b612e312fe61b798c1827 958 shells optional pdksh_5.2.14-25.dsc
4a8352ca684f3576ca55ebe4de285117 44652 shells optional pdksh_5.2.14-25.diff.gz
ef74d9de3c37ad61c94db310f54cbc37 264818 shells optional
pdksh_5.2.14-25_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkq2hDUACgkQThh1cJ0wnDtTQACeLig5A9SQZzlt+jwWAaJlvd/m
5eIAn1CWvXzNhZy2dvup+rAWN1wTL1/u
=H544
-----END PGP SIGNATURE-----
--- End Message ---