Your message dated Sun, 04 Dec 2016 21:07:33 +0000 with message-id <[email protected]> and subject line Bug#607615: fixed in zsh 5.2-test-1-1 has caused the Debian Bug report #607615, regarding zsh: Behavior of ":A" and ":a" isn't clear and seems wrong 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.) -- 607615: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607615 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: zsh Version: 4.3.10-17 Severity: normal Consider the following zsh script: d=$PWD:t ln -s . symlink-to-dot || exit 1 realpath symlink-to-dot/../$d/symlink-to-dot realpath symlink-to-dot/../$d/does-not-exist echo symlink-to-dot/../$d/symlink-to-dot(:A) echo symlink-to-dot/../$d/does-not-exist(:A) echo symlink-to-dot/../$d/symlink-to-dot(:a) echo symlink-to-dot/../$d/does-not-exist(:a) rm symlink-to-dot When run under some /tmp/foo directory, one gets: /tmp/foo symlink-to-dot/../foo/does-not-exist: No such file or directory /tmp/foo/foo/symlink-to-dot no matches found: symlink-to-dot/../foo/does-not-exist(:A) /tmp/foo/foo/symlink-to-dot no matches found: symlink-to-dot/../foo/does-not-exist(:a) How the path is resolved should be clarified, in particular because one doesn't get the same result as realpath for the first test. The zshexpn(1) man page currently says: a Turn a file name into an absolute path: prepends the current directory, if necessary, and resolves any use of `..' and `.' in the path. Note that the transformation takes place even if the file or any intervening directo‐ ries do not exist. A As `a', but also resolve use of symbolic links where possible. Note that resolution of `..' occurs before resolution of symbolic links. This call is equivalent to a unless your system has the realpath system call (modern systems do). The fact that it refers to the realpath call (BTW this is not a system call, but a GNU libc call under Linux) is strange because neither ":a" not ":A" give the same result as realpath. Moreover the error condition (no matches found) is inconsistent, as /tmp/foo/foo/symlink-to-dot doesn't exist either. -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libcap2 1:2.19-3 support for getting/setting POSIX. ii libncursesw5 5.7+20100313-4 shared libraries for terminal hand Versions of packages zsh recommends: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi Versions of packages zsh suggests: ii zsh-doc 4.3.10-17 zsh documentation - info/HTML form -- no debconf information
--- End Message ---
--- Begin Message ---Source: zsh Source-Version: 5.2-test-1-1 We believe that the bug you reported is fixed in the latest version of zsh, which is due to be installed in the Debian FTP archive. 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. Axel Beckert <[email protected]> (supplier of updated zsh 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: SHA256 Format: 1.8 Date: Sun, 04 Dec 2016 21:35:22 +0100 Source: zsh Binary: zsh-common zsh zsh-doc zsh-static zsh-dev Architecture: source all amd64 Version: 5.2-test-1-1 Distribution: experimental Urgency: low Maintainer: Debian Zsh Maintainers <[email protected]> Changed-By: Axel Beckert <[email protected]> Description: zsh - shell with lots of features zsh-common - architecture independent files for Zsh zsh-dev - shell with lots of features (development files) zsh-doc - zsh documentation - info/HTML format zsh-static - shell with lots of features (static link) Closes: 479841 514857 607615 831900 844710 Changes: zsh (5.2-test-1-1) experimental; urgency=low . * [3e439c38] New upstream test release 5.2-test-1. + [bcb52460]: "&&" inside a shell function could mess up ERR_EXIT outside. (Closes: #514857) + [02f03a6a]: _schroot: Add -r/--run-session. (Closes: #831900) + [b3a88a53]: $SPROMPT: Don't accept a spelling correction at space/tab. (Closes: #844710) + [6e966f69+7154052e]: Clarify documentation of the ':A' word modifier. Add new :P history modifier. (Closes: #607615) + [3b69b121] typeset: Document exit status difference from parameter assignment statements. (Closes: #479841) * [b2e45bd3] Update path to zsh used in GUI menus. Thanks Mika Prokop! * [6783a173] Merge debian-stretch branch into (currently experimental) debian branch again. * [2aedc4b8] Remove cherry-picked fix-segfault-in-is_cond_binary_op.patch * [516efade] Cherry-pick af2ab0247: attempt to make output from interactive test more robust Checksums-Sha1: 81f6db7c8d0948f7bda91e9906a742fd4cc30a2a 2576 zsh_5.2-test-1-1.dsc 2aae4c86182b5a243cd475c6e53f87071f4e2aee 2563132 zsh_5.2-test-1.orig.tar.xz 377b359bad2b2312083ee04e46ba47b2c5c41d25 73368 zsh_5.2-test-1-1.debian.tar.xz 3b672ab66392b3f3f2e5c9ec2cde72cdc58f8ddc 3449564 zsh-common_5.2-test-1-1_all.deb bcbaf25d880f2a4ec0d4cb0f85f19073aeace460 2171462 zsh-dbgsym_5.2-test-1-1_amd64.deb 80f147b51c537c60c7254778f4fb39621cf0a469 225986 zsh-dev_5.2-test-1-1_amd64.deb 685d9cc3a8317770b37c72dbb3d37843a1cd60bd 2629748 zsh-doc_5.2-test-1-1_all.deb cebc7fb1fc301790c821684246cf7aeb14372f0d 1558308 zsh-static-dbgsym_5.2-test-1-1_amd64.deb 7000c172947e3d6f64966312f2e152c1b6a2280e 1054836 zsh-static_5.2-test-1-1_amd64.deb ec22fb86d8123691369d5844154039e8720baa0d 8880 zsh_5.2-test-1-1_amd64.buildinfo 11d53036e924c97bc0fb738eab3e7b75a289124e 812948 zsh_5.2-test-1-1_amd64.deb Checksums-Sha256: e1655d6831b1c7086082cd8ef54127bee7aec82ef71351505af327a96551d775 2576 zsh_5.2-test-1-1.dsc 85cac4f4b414a2a80e606bfab150f4cb6528b931032da206668f8e9820d71cc6 2563132 zsh_5.2-test-1.orig.tar.xz a80972ac66aad8cec20b6554f5a3316f962b3743a00a16637b876d0f3aac181d 73368 zsh_5.2-test-1-1.debian.tar.xz 7e07e98297fb8d62c340a4a5575b136eb0b8f161870679eb242e27886d20bc34 3449564 zsh-common_5.2-test-1-1_all.deb 6387c354b8845b5dc8ce5d5f4398b6707d7f35463fa3d141a789f70e0793cd55 2171462 zsh-dbgsym_5.2-test-1-1_amd64.deb 2f7e935faa203443fffd91239d89e1d8f9b6c52f836592be28e20c9d3bfc874e 225986 zsh-dev_5.2-test-1-1_amd64.deb 7b1345f4c1d464ffb0d9bb85ca681a996d67b7b2c489e9779e0c9b2878a56390 2629748 zsh-doc_5.2-test-1-1_all.deb eee2cf8227908d2b12b857905f4e5f09e5f57912abcb1587dd1cfa70a3c84212 1558308 zsh-static-dbgsym_5.2-test-1-1_amd64.deb c899018f73e44b5ab92b06d169d7a8930524ce0032b67b1b01a3f5f45579b35a 1054836 zsh-static_5.2-test-1-1_amd64.deb f630b40c6bd2858c1db9c27f158959ea1e336246a174c199109390175b68340e 8880 zsh_5.2-test-1-1_amd64.buildinfo 126fab44ce4398f9b15581a705e4c927e96367fa5c299116505d54aadc3110e8 812948 zsh_5.2-test-1-1_amd64.deb Files: 298daa8e3f2430cbe61a2df2f81d74c9 2576 shells optional zsh_5.2-test-1-1.dsc f21e1aa89e9cb843bca27f34cf15933b 2563132 shells optional zsh_5.2-test-1.orig.tar.xz df83a9b5be259a785372424aa80611e0 73368 shells optional zsh_5.2-test-1-1.debian.tar.xz 9c2ab23dbadd8035b0532f9fcf5a6e19 3449564 shells optional zsh-common_5.2-test-1-1_all.deb a2d3fc93f51da85fbe38f1753bff99d3 2171462 debug extra zsh-dbgsym_5.2-test-1-1_amd64.deb d356b34a21e4a831e65efb2bc2667566 225986 libdevel optional zsh-dev_5.2-test-1-1_amd64.deb b8ea641d8af5d88f001b2ef02a6fa470 2629748 doc optional zsh-doc_5.2-test-1-1_all.deb ac2a82075eb1308813b2671265486ce6 1558308 debug extra zsh-static-dbgsym_5.2-test-1-1_amd64.deb 183ee5c6d6e85d3b020b9cb5a8c32f88 1054836 shells optional zsh-static_5.2-test-1-1_amd64.deb ddcb87e117dbbd6552304428df7c0283 8880 shells optional zsh_5.2-test-1-1_amd64.buildinfo df08d506c70256b1f55e9c1f5b995f8f 812948 shells optional zsh_5.2-test-1-1_amd64.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAlhEf4oACgkQa+Zjx1o1 yXWqHw//Y5yqQi+wnfHjie14c4HRto8PbLbg4Hy0C2GxLCtJSlu5xSgAVybCbdIh /x9PsGLLaGQMbVzwCKOKAvEcBEeZQtBOI11DS2Iu5tvOGtTJxAnys22erXfYNmun SDf7eunnWLZL62JV2/h7Vkvf9O7lSRtggefeFnXvQd1xMqs49Br0W0P7YSbU0qNw wuWC1XvVV4h7u/9YIxlP/J9FicO81kRFw0GIZFwtNIetxt906/nhIpkdz9xZzRr1 90zcv+vvjSHMmos0tx9wvk0PHIt9iE48yA3O0G/m0QSQmRNFQhRLk20QDVp6NCPh nUtAPV8aZtm+tFbksNw+SwCZvoHIYCyYDjTBrHkuQdNNCzDV6mvU1vzSFjNCctYJ lwMwqjOzj7LItXY+6mA3bh5WLgIsSzX6yYiA3W/JvH9WUGzI7yfskmDhVMJytJAY w7YqfgNCn3lgLmoMnLI+qpLDMTgdO405i4GdwIEa6f2j47D6k8y5LzW3zqW5buGi RxZnC0j7VZ907jYY7FMIB8s89k9VJU3LQu4BRICQ3HX+NRUbBxsKiI5XHGfCuqX0 P9gvZ0znSby1VNRo4eckSeAytpzI9SYOPpRRvqVVsu02pcj1FKB//UKK3IidsFdi QeCGy0SDxEoPyLfB2DYy0TIf8oRpSJywzoeBHY7X+3tVTypsT2Y= =VeOt -----END PGP SIGNATURE-----
--- End Message ---

