On 5/13/19 6:12 AM, Tim Rühsen wrote:
I meant



beta$ diff -c tests/test-lookup.c.orig tests/test-lookup.c
*** tests/test-lookup.c.orig    Sat Jan 26 10:44:20 2019
--- tests/test-lookup.c Mon May 13 10:57:18 2019
***************
*** 862,868 ****

  static int _scan_file(const char *fname, int(*scan)(char *))
  {
!   FILE *fp = fopen(fname, "r");
    char *buf = NULL, *linep;
    size_t bufsize = 0;
    ssize_t buflen;
--- 862,868 ----

  static int _scan_file(const char *fname, int(*scan)(char *))
  {
!   FILE *fp = fopen(fname, "rb");
    char *buf = NULL, *linep;
    size_t bufsize = 0;
    ssize_t buflen;
beta$


.
.
.
gmake[4]: Entering directory '/usr/local/build/libidn2-2.1.1a_SunOS5.10_sparc64vii+.003/tests'
PASS: test-punycode
FAIL: test-lookup
PASS: test-register
PASS: test-strerror
PASS: test-tounicode

============================================================================
Testsuite summary for libidn2 2.1.1
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================

beta$ src/.libs/idn2 -d xn--fze90fu1iw8r.1 | od -t x1
idn2: decode: string encoding error
0000000
beta$


Not sure why I see that.

dc

_______________________________________________
Help-libidn mailing list
Help-libidn@gnu.org
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to