Your message dated Mon, 29 Oct 2018 00:04:39 +0000
with message-id <[email protected]>
and subject line Bug#867536: fixed in dialog 1.3-20181022-1
has caused the Debian Bug report #867536,
regarding dialog: Newlines effective in text even if --cr-wrap is not used
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.)
--
867536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dialog
Version: 1.3-20160828-2
Severity: normal
Tags: patch upstream
The bug was first reported on ubuntu at the following link:
https://bugs.launchpad.net/ubuntu/+source/dialog/+bug/1611969
This bug also affect Debian sid, and is still present in the last
upstream release 1.3-20170509.
A patch, rather naive, is enclosed.
The diff has been made from the last upstream release 1.3-20170509.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to fr_FR.UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set
to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dialog depends on:
ii debianutils 4.8.1.1
ii libc6 2.24-12
ii libncursesw5 6.0+20161126-1
ii libtinfo5 6.0+20161126-1
dialog recommends no packages.
dialog suggests no packages.
-- no debconf information
--- util.c.bak 2017-07-07 06:38:19.947542727 +0200
+++ util.c 2017-07-07 07:38:51.895267395 +0200
@@ -2274,7 +2274,7 @@
*p = ' ';
if (has_newlines) { /* If prompt contains "\n" strings */
- if (*p == '\\' && *(p + 1) == 'n') {
+ if (*p == '\\' && *(p + 1) == 'n') { /* If current char is a "\n" */
*s++ = '\n';
p += 2;
p1 = p;
@@ -2298,7 +2298,7 @@
}
} else /* If *p != '\n' */
*s++ = *p++;
- } else if (dialog_vars.trim_whitespace) {
+ } else if (dialog_vars.trim_whitespace) { /* Trim whitespaces and "\n"
*/
if (*p == ' ') {
if (*(s - 1) != ' ') {
*s++ = ' ';
@@ -2321,7 +2321,16 @@
if (!trim_blank(base, s))
*s++ = *p;
p++;
- } else
+ } else if (*p == '\n') {
+ if (dialog_vars.cr_wrap)
+ *s++ = *p++;
+ else if (*(s - 1) != ' ') {
+ /* Strip '\n's if cr_wrap is not set. */
+ *s++ = ' ';
+ p++;
+ } else
+ p++;
+ } else /* If *p != '\n' */
*s++ = *p++;
}
}
--- End Message ---
--- Begin Message ---
Source: dialog
Source-Version: 1.3-20181022-1
We believe that the bug you reported is fixed in the latest version of
dialog, 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.
Santiago Vila <[email protected]> (supplier of updated dialog 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, 28 Oct 2018 22:30:24 +0100
Source: dialog
Binary: dialog
Architecture: source
Version: 1.3-20181022-1
Distribution: unstable
Urgency: medium
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description:
dialog - Displays user-friendly dialog boxes from shell scripts
Closes: 865840 867536
Changes:
dialog (1.3-20181022-1) unstable; urgency=medium
.
* New upstream release.
* Bugs fixed in the previous upstream release 1.3-20180621:
- Improve handling of SIGWINCH for several widgets. Closes: #865840.
- Improve documentation of the various whitespace-filtering options,
to show which take precedence. Closes: #867536.
* Add menubox11 to examples directory.
Checksums-Sha1:
aad360a399ce7911e43092dc237ba2739bf147ac 1426 dialog_1.3-20181022-1.dsc
06064ded4519c9a31e56f098f19651deb611f791 531815 dialog_1.3-20181022.orig.tar.gz
978b07a28f282f1e204e366cdda0cde15af1411d 11744
dialog_1.3-20181022-1.debian.tar.xz
fe03d9739d3e65b486bc16c4476051a918493dfc 4156
dialog_1.3-20181022-1_source.buildinfo
Checksums-Sha256:
fa3002e469c7a76dce0f4f0c17b27d8fc4c5579876e87d3fcb415bcc74b5a050 1426
dialog_1.3-20181022-1.dsc
d5f9282e701c52e1ae3784ebb33a1ba57202436832688c511414136fcb0dcdb3 531815
dialog_1.3-20181022.orig.tar.gz
ebc28a59b93fccdd17a01e2894e551f381a0710fe84fe40b7a4a697295ff3c88 11744
dialog_1.3-20181022-1.debian.tar.xz
000fb0d780fa1c730d9935c44c32560eacbeff0c0dced42a68da27d76e6700e2 4156
dialog_1.3-20181022-1_source.buildinfo
Files:
458a16e7377cfede37d986cb5fb85ebc 1426 misc optional dialog_1.3-20181022-1.dsc
274da782d8c08e1bed96a653a3d610bd 531815 misc optional
dialog_1.3-20181022.orig.tar.gz
12238657723cd9e394e7a5afd5adf0f9 11744 misc optional
dialog_1.3-20181022-1.debian.tar.xz
23d76bff8e671f1c8ebda56a568f4a10 4156 misc optional
dialog_1.3-20181022-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAlvWMewACgkQQc5/C58b
izKokwgAg0MNfmsMZRyV9Wktpy60z2zhMghPNVrjG3CBMY7qyroy0YB6U/ItCMmt
W1IMuBVGoHgh+9zhJm8qq9Mm2WVnt4lsizdVPsaKyv1rly46qdZ+/Iu42hoVX+OZ
94ioqEuBAxPuiRXMvcE9kdQdm/UJYrt9Xn2v8dY26h1SYof23rBcVPqVZfsj/0wg
DWvRg7J80I4p0aug8oHCto8sD97DBm0HBWcRVZuMLfx+1JR1TywP9qeT/GNU3vky
7SB2yj3AqOrapDKiRM15WMOVzz/yJj/c0izghjvf9jLzJPvZu2i5CRF9c8feqt9a
QMeqRi1EBthF830e9d301yN7RfU7TQ==
=p+gb
-----END PGP SIGNATURE-----
--- End Message ---