[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?
From: |
Thomas Dickey |
Subject: |
Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1? |
Date: |
Mon, 26 Feb 2018 17:00:44 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Feb 26, 2018 at 12:12:56PM +0100, Dr. Werner Fink wrote:
> Hi,
>
> just to check binary compatibility I see from a diff of the exported
> functions for libtinfo and libtinfow
offhand, that looks as expected: the "ncursestw" variant should be
supplying all of the symbols that are in "ncursest", but the reverse is
not true. (That was also true of the data section, so I assume you've
been building/delivering the tinfo "w" flavor).
The wide-character library adds entrypoints which support the 32-bit
numbers, which use a larger (TERMTYPE2) structure than the one
supporting 16-bit numbers (TERMTYPE).
I named the new functions with a "2" on the end to denote their
relationship to TERMTYPE2.
When built as "ncursestw", the older functions accept a "TERMTYPE" (no
"2") parameter, and the library converts as needed.
Bear in mind that there were a few bug-reports last spring and early
summer when I completed those changes, but it seems to be working as
designed.
By the way, to support 32-bit numbers in terminfo, you'll have to
build/link the command-line utilities with the wide-character
configuration.
> nm -D /lib64/libtinfow.so.6.1 | sed -r 's/^.*([ABDUTRw] )/\1/' > /tmp/w1
> nm -D /lib64/libtinfo.so.6.1 | sed -r 's/^.*([ABDUTRw] )/\1/' > /tmp/w2
> --- /tmp/w1 2018-02-26 11:34:59.923489735 +0100
> +++ /tmp/w2 2018-02-26 11:35:02.635520423 +0100
> @@ -16,10 +16,10 @@ A NCURSES6_TINFO_5.7.20081102
> A NCURSES6_TINFO_5.8.20110226
> A NCURSES6_TINFO_5.9.20150530
> A NCURSES6_TINFO_6.1.20171230
> -A NCURSESTW6_5.7.20081102
> -A NCURSESTW6_5.8.20110226
> -A NCURSESTW6_5.9.20150530
> -A NCURSESTW6_6.1.20171230
> +A NCURSEST6_5.7.20081102
> +A NCURSEST6_5.8.20110226
> +A NCURSEST6_5.9.20150530
> +A NCURSEST6_6.1.20171230
> B PC
> B SP
> B UP
> @@ -48,7 +48,6 @@ T _nc_boolcodes
> T _nc_boolfnames
> T _nc_boolnames
> T _nc_copy_termtype
> -T _nc_copy_termtype2
> T _nc_cur_term
> B _nc_curr_col
> B _nc_curr_line
> @@ -57,9 +56,7 @@ T _nc_doalloc
> T _nc_env_access
> T _nc_err_abort
> T _nc_eventlist_timeout
> -T _nc_export_termtype2
> T _nc_fallback
> -T _nc_fallback2
> T _nc_find_entry
> T _nc_find_prescr
> T _nc_find_type_entry
> @@ -70,7 +67,6 @@ T _nc_flush_sp
> T _nc_forget_prescr
> T _nc_free_entries
> T _nc_free_termtype
> -T _nc_free_termtype2
> T _nc_get_alias_table
> T _nc_get_hash_table
> T _nc_get_locale
> @@ -119,7 +115,6 @@ T _nc_putp
> T _nc_putp_flush_sp
> T _nc_putp_sp
> T _nc_read_entry
> -T _nc_read_entry2
> T _nc_read_file_entry
> T _nc_read_termtype
> T _nc_rootname
>
> AFAICR those libs should be compatible, shouldn't those?
>
> Werner
>
> --
> "Having a smoking section in a restaurant is like having
> a peeing section in a swimming pool." -- Edward Burr
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature
- Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Dr. Werner Fink, 2018/02/26
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?,
Thomas Dickey <=
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Dr. Werner Fink, 2018/02/27
- Re: [bug-ncurses] Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Dr. Werner Fink, 2018/02/27
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Thomas Dickey, 2018/02/27
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Dr. Werner Fink, 2018/02/27
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Thomas Dickey, 2018/02/27
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Dr. Werner Fink, 2018/02/28
- Re: [bug-ncurses] Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Dr. Werner Fink, 2018/02/28
- Re: Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?, Sven Joachim, 2018/02/28