Your message dated Tue, 17 Jul 2018 16:35:00 +0000
with message-id <[email protected]>
and subject line Bug#902630: fixed in ncurses 6.1+20180714-1
has caused the Debian Bug report #902630,
regarding libtinfo6: tiparm("") returns NULL
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.)


-- 
902630: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902630
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtinfo6
Version: 6.1+20180210-4

I'm not sure what are the exact circumstances, but tiparm("") sometimes returns NULL instead of empty string:

  $ make test-tiparm LDLIBS=-ltinfo
  cc     test-tiparm.c  -ltinfo -o test-tiparm

  $ ./test-tiparm
  tiparm("") = NULL
  tiparm("foo") = "foo"
  tiparm("") = ""


-- System Information:
Architecture: i386

Versions of packages libtinfo6 depends on:
ii  libc6  2.27-3

--
Jakub Wilk
#include <stdio.h>

#include <term.h>

void test_tiparm(const char *s)
{
	const char *t = tiparm(s);
	printf("tiparm(\"%s\") = ", s);
	if (t)
		printf("\"%s\"", t);
	else
		printf("NULL");
	printf("\n");
}

int main(int argc, char **argv)
{
	setupterm(NULL, 1, NULL);
	test_tiparm("");
	test_tiparm("foo");
	test_tiparm("");
	return 0;
}

--- End Message ---
--- Begin Message ---
Source: ncurses
Source-Version: 6.1+20180714-1

We believe that the bug you reported is fixed in the latest version of
ncurses, 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.
Sven Joachim <[email protected]> (supplier of updated ncurses 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: SHA512

Format: 1.8
Date: Tue, 17 Jul 2018 18:17:02 +0200
Source: ncurses
Binary: libtinfo6 libtinfo6-udeb libncurses6 libncurses-dev libtinfo-dev 
libtinfo6-dbg libncurses5-dev libncurses6-dbg libncursesw6 libncursesw5-dev 
libncursesw6-dbg lib64tinfo6 lib64ncurses6 lib64ncursesw6 lib64ncurses-dev 
lib32tinfo6 lib32ncurses6 lib32ncursesw6 lib32ncurses-dev ncurses-bin 
ncurses-base ncurses-term ncurses-examples ncurses-doc libtinfo5 libncurses5 
libncursesw5
Architecture: source
Version: 6.1+20180714-1
Distribution: unstable
Urgency: medium
Maintainer: Craig Small <[email protected]>
Changed-By: Sven Joachim <[email protected]>
Description:
 lib32ncurses-dev - developer's libraries for ncurses (32-bit)
 lib32ncurses6 - shared libraries for terminal handling (32-bit)
 lib32ncursesw6 - shared libraries for terminal handling (wide character 
support) (
 lib32tinfo6 - shared low-level terminfo library for terminal handling (32-bit)
 lib64ncurses-dev - developer's libraries for ncurses (64-bit)
 lib64ncurses6 - shared libraries for terminal handling (64-bit)
 lib64ncursesw6 - shared libraries for terminal handling (wide character 
support) (
 lib64tinfo6 - shared low-level terminfo library for terminal handling (64-bit)
 libncurses-dev - developer's libraries for ncurses
 libncurses5 - shared libraries for terminal handling (legacy version)
 libncurses5-dev - transitional package for libncurses-dev
 libncurses6 - shared libraries for terminal handling
 libncurses6-dbg - debugging/profiling libraries for ncurses
 libncursesw5 - shared libraries for terminal handling (wide character legacy 
ver
 libncursesw5-dev - transitional package for libncurses-dev
 libncursesw6 - shared libraries for terminal handling (wide character support)
 libncursesw6-dbg - debugging/profiling libraries for ncursesw
 libtinfo-dev - transitional package for libncurses-dev
 libtinfo5  - shared low-level terminfo library (legacy version)
 libtinfo6  - shared low-level terminfo library for terminal handling
 libtinfo6-dbg - debugging/profiling library for the low-level terminfo library
 libtinfo6-udeb - shared low-level terminfo library for terminal handling - 
udeb (udeb)
 ncurses-base - basic terminal type definitions
 ncurses-bin - terminal-related programs and man pages
 ncurses-doc - developer's guide and documentation for ncurses
 ncurses-examples - test programs and examples for ncurses
 ncurses-term - additional terminal type definitions
Closes: 900839 900987 902630
Changes:
 ncurses (6.1+20180714-1) unstable; urgency=medium
 .
   * New upstream patchlevel.
     - Fix a case where tiparm could return null if the format-string was
       empty (Closes: #902630).
     - Reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
       combines with _XOPEN_SOURCE (Closes: #900987).
     - Modify generated ncurses*config and ncurses.pc, ncursesw.pc, etc.,
       to list helper libraries such as gpm for static linking (see #900839).
   * Refresh Debian patches.
   * Stop building special debug libraries, and mark the -dbg packages as
     Multi-Arch: same (Addresses: #849003).
   * Build the static libraries without gpm support (Closes: #900839).
   * Upgrade Standards-Version to 4.1.5, no changes needed.
Checksums-Sha1:
 ca9f6db93424e3f147cfc76c0642edca47e554be 4147 ncurses_6.1+20180714-1.dsc
 8ebf3d53b7b2650ef9cc2ff701adf8e211133020 3400860 
ncurses_6.1+20180714.orig.tar.gz
 3264e4b591886bb31fe7ace88861b71470e11d70 251 
ncurses_6.1+20180714.orig.tar.gz.asc
 c28c2599ad197cdbe0259cb90f61169eae2690b5 59968 
ncurses_6.1+20180714-1.debian.tar.xz
 a97ac90a3d2d0f97b0c415dd1e6ba14679cb0653 6902 
ncurses_6.1+20180714-1_source.buildinfo
Checksums-Sha256:
 d4ee01fcada6e29bba632598e517fff5c48329c4191712f07311e3a21d36d4b9 4147 
ncurses_6.1+20180714-1.dsc
 8e2d9ab51c54d5a5b78ca6d8e63200646202e91b152d9ea8ddbce86e6a32796d 3400860 
ncurses_6.1+20180714.orig.tar.gz
 682fbba42d188d489b1cd457cce1285f0d9356fe8c45fdcd6e1c45e81e22d352 251 
ncurses_6.1+20180714.orig.tar.gz.asc
 4160bcdae8e616c584317ae46ec8053709a4e640f9620621644f986c1b7e402f 59968 
ncurses_6.1+20180714-1.debian.tar.xz
 3211bf00692d8763b78becfcc1442b9e9b5a81983ecd94d533132cb7dd50e6e9 6902 
ncurses_6.1+20180714-1_source.buildinfo
Files:
 eb98e51968af97e59b9be44022ff5bc8 4147 libs required ncurses_6.1+20180714-1.dsc
 297a12bd9be3e4edcbcb96c9caaea009 3400860 libs required 
ncurses_6.1+20180714.orig.tar.gz
 4bdf3dbc43c39b5fd53c22e5de66674f 251 libs required 
ncurses_6.1+20180714.orig.tar.gz.asc
 3b610c219a9c3b46eb20bddf1702449a 59968 libs required 
ncurses_6.1+20180714-1.debian.tar.xz
 b4558d9c60498388f4baeebdfef45fe5 6902 libs required 
ncurses_6.1+20180714-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKF8heKgv5Jai5p4QOxBucY1rMawFAltOFtoACgkQOxBucY1r
MayHqA//e2CR60LQdyGMA/35M8p8HZc5VelvNhACYVkhKXGsBe40009OtdMZpz78
Lpm0nKE2K2R6ACoRnW7NtkKDjVC/tGW6bAoA61LTcGjv8hgOywiKthF4GvYDrQMR
fS66XttT1GSAFgSl6shZxpSlapuGlxJCuSkiwXSOQEBTsTGGQN3iJ8/k44f5pYqc
zTCeiTAxFG7npriQe/hoYc2k8XYkW4jJN/wunsabwu6+gngL3Tq4teKIjOVxQwDz
A4FyAlnqqs9NMBDnfQw/0QVJmtGQvAlQnSYvl0vVlfEgwIqilC0YAKwqkEorl96L
pX3kBK09Nmsl+moDOw3DMsnpI6Fw/lGtvAXDobSrWaMSYpk/+VbU9w7Osi6VYvXY
HDhYRXgpBUPgeEYe/LAePG+BkZRSA8AbMLQnT2NDbYaN7E8mXsQkySD8M84RJZB9
CbI+wVjF9f01G1swA8ngt5h57B46IgNGu/OEeNvl4sc1fNnVIb9mSsHR77jq3WRR
qoaN/PPpgucKgm3WOfJxvrtlGxMyhR2hyQaC4+plXq9/5MyRWi+g/twrsRSGUqtF
NFHJ+7GvWpZEv7otSaU2EPZU8JtMRUD9ineACuUuaxyU0UQtZWudcir0jr4jGaEk
03xFGNERvwH9LtsrNBbdC60lCQo6lKdoeDisgB0nixsRU6deu2M=
=BGxo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to