[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion fr
From: |
Bruno Haible |
Subject: |
Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv |
Date: |
Mon, 03 Apr 2023 20:14:32 +0200 |
Hi Mike,
> Does this change also generate different TXT
> files for testing, e.g.
> with my 'static patch', I had to do the following patch so that the 'check'
> test would pass.
>
> diff --git a/tests/IBM-1047.TXT b/tests/IBM-1047.TXT
> index d6818cf..9b3d02d 100644
> --- a/tests/IBM-1047.TXT
> +++ b/tests/IBM-1047.TXT
> @@ -19,7 +19,7 @@
> 0x12 0x0012
> 0x13 0x0013
> 0x14 0x009D
> -0x15 0x0085
> +0x15 0x000A
> 0x16 0x0008
> 0x17 0x0087
> 0x18 0x0018
> @@ -35,7 +35,7 @@
> 0x22 0x0082
> 0x23 0x0083
> 0x24 0x0084
> -0x25 0x000A
> +0x25 0x0085
> 0x26 0x0017
> 0x27 0x001B
> 0x28 0x0088
No, the tests/*.TXT files don't change. "make check" passes,
"ICONV_EBCDIC_ZOS_UNIX=1 make check" passes as well.
That's because
- The iconv _library functions_ don't test the environment variable.
It's the iconv _program_ which tests it and passes the information
to the library.
- The unit tests make use of a program 'table-from' that invokes the
library, not the iconv program, and therefore works the same way
regardless of the setting of the environment variable.
Bruno
- [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Mike Fulton, 2023/04/01
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Bruno Haible, 2023/04/01
- Message not available
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Bruno Haible, 2023/04/02
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Mike Fulton, 2023/04/02
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Bruno Haible, 2023/04/02
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Bruno Haible, 2023/04/03
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Mike Fulton, 2023/04/03
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv,
Bruno Haible <=
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Mike Fulton, 2023/04/03
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Bruno Haible, 2023/04/03
- Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv, Mike Fulton, 2023/04/03