]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 3 Jan 2003 22:32:41 +0000 (22:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 3 Jan 2003 22:32:41 +0000 (22:32 +0000)
2003-01-03  Andreas Jaeger  <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>

* resolv/res_libc.c: Provide declaration for __res_init_weak and
reorder declarations.

2003-01-03  Art Haas  <ahaas@airmail.net>

* localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
initiailzer syntax to C99.
* localedata/tests-mbwc/dat_iswalpha.c: Likewise.
* localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
* localedata/tests-mbwc/dat_iswctype.c: Likewise.
* localedata/tests-mbwc/dat_iswdigit.c: Likewise.
* localedata/tests-mbwc/dat_iswgraph.c: Likewise.
* localedata/tests-mbwc/dat_iswlower.c: Likewise.
* localedata/tests-mbwc/dat_iswprint.c: Likewise.
* localedata/tests-mbwc/dat_iswpunct.c: Likewise.
* localedata/tests-mbwc/dat_iswspace.c: Likewise.
* localedata/tests-mbwc/dat_iswupper.c: Likewise.
* localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
* localedata/tests-mbwc/dat_mblen.c: Likewise.
* localedata/tests-mbwc/dat_mbrlen.c: Likewise.
* localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
* localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbtowc.c: Likewise.
* localedata/tests-mbwc/dat_strcoll.c: Likewise.
* localedata/tests-mbwc/dat_strfmon.c: Likewise.
* localedata/tests-mbwc/dat_strxfrm.c: Likewise.
* localedata/tests-mbwc/dat_swscanf.c: Likewise.
* localedata/tests-mbwc/dat_towctrans.c: Likewise.
* localedata/tests-mbwc/dat_towlower.c: Likewise.
* localedata/tests-mbwc/dat_towupper.c: Likewise.
* localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
* localedata/tests-mbwc/dat_wcscat.c: Likewise.
* localedata/tests-mbwc/dat_wcschr.c: Likewise.
* localedata/tests-mbwc/dat_wcscmp.c: Likewise.
* localedata/tests-mbwc/dat_wcscoll.c: Likewise.
* localedata/tests-mbwc/dat_wcscpy.c: Likewise.
* localedata/tests-mbwc/dat_wcscspn.c: Likewise.
* localedata/tests-mbwc/dat_wcslen.c: Likewise.
* localedata/tests-mbwc/dat_wcsncat.c: Likewise.
* localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
* localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
* localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
* localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
* localedata/tests-mbwc/dat_wcsspn.c: Likewise.
* localedata/tests-mbwc/dat_wcsstr.c: Likewise.
* localedata/tests-mbwc/dat_wcstod.c: Likewise.
* localedata/tests-mbwc/dat_wcstok.c: Likewise.
* localedata/tests-mbwc/dat_wcstombs.c: Likewise.
* localedata/tests-mbwc/dat_wcswidth.c: Likewise.
* localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
* localedata/tests-mbwc/dat_wctob.c: Likewise.
* localedata/tests-mbwc/dat_wctomb.c: Likewise.
* localedata/tests-mbwc/dat_wctrans.c: Likewise.
* localedata/tests-mbwc/dat_wctype.c: Likewise.
* localedata/tests-mbwc/dat_wcwidth.c: Likewise.

2003-01-03  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.

59 files changed:
ChangeLog
linuxthreads/ChangeLog
linuxthreads/sysdeps/pthread/bits/libc-tsd.h
localedata/tests-mbwc/dat_iswalnum.c
localedata/tests-mbwc/dat_iswalpha.c
localedata/tests-mbwc/dat_iswcntrl.c
localedata/tests-mbwc/dat_iswctype.c
localedata/tests-mbwc/dat_iswdigit.c
localedata/tests-mbwc/dat_iswgraph.c
localedata/tests-mbwc/dat_iswlower.c
localedata/tests-mbwc/dat_iswprint.c
localedata/tests-mbwc/dat_iswpunct.c
localedata/tests-mbwc/dat_iswspace.c
localedata/tests-mbwc/dat_iswupper.c
localedata/tests-mbwc/dat_iswxdigit.c
localedata/tests-mbwc/dat_mblen.c
localedata/tests-mbwc/dat_mbrlen.c
localedata/tests-mbwc/dat_mbrtowc.c
localedata/tests-mbwc/dat_mbsrtowcs.c
localedata/tests-mbwc/dat_mbstowcs.c
localedata/tests-mbwc/dat_mbtowc.c
localedata/tests-mbwc/dat_strcoll.c
localedata/tests-mbwc/dat_strfmon.c
localedata/tests-mbwc/dat_strxfrm.c
localedata/tests-mbwc/dat_swscanf.c
localedata/tests-mbwc/dat_towctrans.c
localedata/tests-mbwc/dat_towlower.c
localedata/tests-mbwc/dat_towupper.c
localedata/tests-mbwc/dat_wcrtomb.c
localedata/tests-mbwc/dat_wcscat.c
localedata/tests-mbwc/dat_wcschr.c
localedata/tests-mbwc/dat_wcscmp.c
localedata/tests-mbwc/dat_wcscoll.c
localedata/tests-mbwc/dat_wcscpy.c
localedata/tests-mbwc/dat_wcscspn.c
localedata/tests-mbwc/dat_wcslen.c
localedata/tests-mbwc/dat_wcsncat.c
localedata/tests-mbwc/dat_wcsncmp.c
localedata/tests-mbwc/dat_wcsncpy.c
localedata/tests-mbwc/dat_wcspbrk.c
localedata/tests-mbwc/dat_wcsrtombs.c
localedata/tests-mbwc/dat_wcsspn.c
localedata/tests-mbwc/dat_wcsstr.c
localedata/tests-mbwc/dat_wcstod.c
localedata/tests-mbwc/dat_wcstok.c
localedata/tests-mbwc/dat_wcstombs.c
localedata/tests-mbwc/dat_wcswidth.c
localedata/tests-mbwc/dat_wcsxfrm.c
localedata/tests-mbwc/dat_wctob.c
localedata/tests-mbwc/dat_wctomb.c
localedata/tests-mbwc/dat_wctrans.c
localedata/tests-mbwc/dat_wctype.c
localedata/tests-mbwc/dat_wcwidth.c
nptl/old_pthread_cond_broadcast.c
nptl/old_pthread_cond_signal.c
nptl/old_pthread_cond_timedwait.c
nptl/old_pthread_cond_wait.c
resolv/res_libc.c
sysdeps/unix/sysv/linux/alpha/sysdep.h

index 36ee42015286012b58307371f4caaf8338ed32bb..cbad30e6727fc311fbeec730ba65d60d0f7194d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,68 @@
+2003-01-03  Andreas Jaeger  <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>
+
+       * resolv/res_libc.c: Provide declaration for __res_init_weak and
+       reorder declarations.
+
+2003-01-03  Art Haas  <ahaas@airmail.net>
+
+       * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
+       initiailzer syntax to C99.
+       * localedata/tests-mbwc/dat_iswalpha.c: Likewise.
+       * localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
+       * localedata/tests-mbwc/dat_iswctype.c: Likewise.
+       * localedata/tests-mbwc/dat_iswdigit.c: Likewise.
+       * localedata/tests-mbwc/dat_iswgraph.c: Likewise.
+       * localedata/tests-mbwc/dat_iswlower.c: Likewise.
+       * localedata/tests-mbwc/dat_iswprint.c: Likewise.
+       * localedata/tests-mbwc/dat_iswpunct.c: Likewise.
+       * localedata/tests-mbwc/dat_iswspace.c: Likewise.
+       * localedata/tests-mbwc/dat_iswupper.c: Likewise.
+       * localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
+       * localedata/tests-mbwc/dat_mblen.c: Likewise.
+       * localedata/tests-mbwc/dat_mbrlen.c: Likewise.
+       * localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
+       * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
+       * localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
+       * localedata/tests-mbwc/dat_mbtowc.c: Likewise.
+       * localedata/tests-mbwc/dat_strcoll.c: Likewise.
+       * localedata/tests-mbwc/dat_strfmon.c: Likewise.
+       * localedata/tests-mbwc/dat_strxfrm.c: Likewise.
+       * localedata/tests-mbwc/dat_swscanf.c: Likewise.
+       * localedata/tests-mbwc/dat_towctrans.c: Likewise.
+       * localedata/tests-mbwc/dat_towlower.c: Likewise.
+       * localedata/tests-mbwc/dat_towupper.c: Likewise.
+       * localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
+       * localedata/tests-mbwc/dat_wcscat.c: Likewise.
+       * localedata/tests-mbwc/dat_wcschr.c: Likewise.
+       * localedata/tests-mbwc/dat_wcscmp.c: Likewise.
+       * localedata/tests-mbwc/dat_wcscoll.c: Likewise.
+       * localedata/tests-mbwc/dat_wcscpy.c: Likewise.
+       * localedata/tests-mbwc/dat_wcscspn.c: Likewise.
+       * localedata/tests-mbwc/dat_wcslen.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsncat.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
+       * localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsspn.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsstr.c: Likewise.
+       * localedata/tests-mbwc/dat_wcstod.c: Likewise.
+       * localedata/tests-mbwc/dat_wcstok.c: Likewise.
+       * localedata/tests-mbwc/dat_wcstombs.c: Likewise.
+       * localedata/tests-mbwc/dat_wcswidth.c: Likewise.
+       * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
+       * localedata/tests-mbwc/dat_wctob.c: Likewise.
+       * localedata/tests-mbwc/dat_wctomb.c: Likewise.
+       * localedata/tests-mbwc/dat_wctrans.c: Likewise.
+       * localedata/tests-mbwc/dat_wctype.c: Likewise.
+       * localedata/tests-mbwc/dat_wcwidth.c: Likewise.
+
+2003-01-03  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
+       (inline_syscall_r0_constraint): New.
+       (inline_syscall[0-6]): Use them.
+
 2003-01-03  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
index 175f7437e1c97f46bfe428fee7d71f633908bdcb..0779f6df5a3ee8f5fe52c39325ce8b57a87924b3 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-03  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/pthread/bits/libc-tsd.h: Declare weak_extern functions.
+
 2003-01-03  Jakub Jelinek  <jakub@redhat.com>
 
        * Makefile ($(objpfx)libpthread.so): Depend on ld.so.
index 04cf7c1a6cc23b1cc358168a12c6d113bab1a673..fa6eb4be28e6f3f5f67fad83021abb5eba398f42 100644 (file)
@@ -1,5 +1,5 @@
 /* libc-internal interface for thread-specific data.  LinuxThreads version.
-   Copyright (C) 1997,98,99,2001,02 Free Software Foundation, Inc.
+   Copyright (C) 1997-2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 # include <bits/libc-lock.h>
 
 # ifndef SHARED
+extern void ** __pthread_internal_tsd_address (int);
+extern void *__pthread_internal_tsd_get (int);
+extern int __pthread_internal_tsd_set (int, const void *);
+
 weak_extern (__pthread_internal_tsd_address)
 weak_extern (__pthread_internal_tsd_get)
 weak_extern (__pthread_internal_tsd_set)
index 54522efe644717ab7f16dede9a629b94d4118a78..a0b457d52fa682bc1c788e1d148ce58477f30608 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (ALNUM, alnum) = {
          {  { 0x00F7 }, { 0,1,0 }  },  /* division */
          {  { 0x00F8 }, { 0,0,0 }  },  /* o stroke */
          {  { 0x00FF }, { 0,0,0 }  },  /* y dia    */
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (de_UTF8, alnum)
@@ -71,7 +71,7 @@ TST_ISW_LOC (ALNUM, alnum) = {
          {  { 0x00F7 }, { 0,1,0 }  },  /* division */
          {  { 0x00F8 }, { 0,0,0 }  },  /* o stroke */
          {  { 0x00FF }, { 0,0,0 }  },  /* y dia    */
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (enUS, alnum)
@@ -96,7 +96,7 @@ TST_ISW_LOC (ALNUM, alnum) = {
          {  { 0x007E }, { 0,1,0 }  },
          {  { 0x007F }, { 0,1,0 }  },
          {  { 0x0080 }, { 0,1,0 }  },
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (eucJP, alnum)
@@ -185,7 +185,7 @@ TST_ISW_LOC (ALNUM, alnum) = {
          {  { 0xFF71 }, { 0,0,0 }  },  /* HALF KATA A          */
          {  { 0xFF9E }, { 0,0,0 }  },  /* HALF KATA MI         */
 #endif
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (end, alnum) }
index 4db02360b539b04feb7fc069235b02ba7c75c98d..a1fa1d6bfc437d5a752491c503f29ac9788c063a 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (ALPHA, alpha)  = {
          {  { 0x00F7 }, { 0,1,0 }  },  /* division */
          {  { 0x00F8 }, { 0,0,0 }  },  /* o stroke */
          {  { 0x00FF }, { 0,0,0 }  },  /* y dia    */
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (enUS, alpha)
@@ -65,7 +65,7 @@ TST_ISW_LOC (ALPHA, alpha)  = {
          {  { 0x007E }, { 0,1,0 }  },
          {  { 0x007F }, { 0,1,0 }  },
          {  { 0x0080 }, { 0,1,0 }  },  /* 20 */
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (eucJP, alpha)
@@ -158,7 +158,7 @@ TST_ISW_LOC (ALPHA, alpha)  = {
          {  { 0xFF71 }, { 0,0,0 }  },  /* HALF KATA A          */
          {  { 0xFF9E }, { 0,0,0 }  },  /* HALF KATA MI         */
 #endif
-         {  is_last: 1 }                 /* last element    */
+         {  .is_last = 1 }               /* last element    */
        }
     },
     {  TST_ISW_REC (end, alpha) }
index 18a0e287e5a44e01c3c9185a06c9ec94f659d286..5161807dff2bea8b734413e12f1fb64f2b0a2570 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (CNTRL, cntrl) = {
          {  { 0x00F7 }, { 0,1,0 }  },  /* division */
          {  { 0x00F8 }, { 0,1,0 }  },  /* o stroke */
          {  { 0x00FF }, { 0,1,0 }  },  /* y dia    */
-         { is_last: 1 }                  /* Last element.  */
+         { .is_last = 1 }                /* Last element.  */
        }
     },
     {  TST_ISW_REC (enUS, cntrl)
@@ -65,7 +65,7 @@ TST_ISW_LOC (CNTRL, cntrl) = {
          {  { 0x007E }, { 0,1,0 }  },
          {  { 0x007F }, { 0,0,0 }  },
          {  { 0x0080 }, { 0,0,0 }  },
-         { is_last: 1 }                  /* Last element.  */
+         { .is_last = 1 }                /* Last element.  */
        }
     },
     {  TST_ISW_REC (eucJP, cntrl)
@@ -114,7 +114,7 @@ TST_ISW_LOC (CNTRL, cntrl) = {
          {  { 0xFF70 }, { 0,1,0 }  },  /* HALF KATA PL -       */
          {  { 0xFF71 }, { 0,1,0 }  },  /* HALF KATA A  */
          {  { 0xFF9E }, { 0,1,0 }  },  /* HALF KATA MI */
-         { is_last: 1 }                  /* Last element.  */
+         { .is_last = 1 }                /* Last element.  */
        }
     },
     {  TST_ISW_REC(end, cntrl) }
index c184d4a1484f7e4235bca8d7c4da6dfbde196e4d..38d692954fd29d2b3369aac7cbcf8710c8f34e4a 100644 (file)
@@ -174,7 +174,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
       {         { 0x00FF, "upper"  }, { 0,1,0 }  },       /* y dia    */
       {         { 0x00B9, "xdigit" }, { 0,1,0 }  },       /* SUP 1    */
       {         { 0x00BC, "xdigit" }, { 0,1,0 }  },       /* 1/4      */
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -383,7 +383,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
       {         { 0x007F, "xdigit" }, { 0,1,0 }  },
       {         { 0x0080, "xdigit" }, { 0,1,0 }  },
       {         { 0x0061, "xxxxxx" }, { 0,1,0 }  },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -651,7 +651,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
       {         { 0x4E06, "jkanji" }, { 0,1,0 }  },       /* CJK UNI.IDEO.NON-J */
 #endif
       {         { 0x4E07, "jkanji" }, { 0,0,0 }  },       /* CJK UNI.IDEO.      */
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 6cece4f8c9cf526121ddcbc34a66ec18e87627be..c3318fe28ddff25efd60f15c4a2a46c2ba74a227 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (DIGIT, digit) = {
        {  { 0x00F7 }, { 0,1,0 }  },    /* division */
        {  { 0x00F8 }, { 0,1,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,1,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (enUS, digit)
@@ -65,7 +65,7 @@ TST_ISW_LOC (DIGIT, digit) = {
        {  { 0x007E }, { 0,1,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  },
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (eucJP, digit)
@@ -114,7 +114,7 @@ TST_ISW_LOC (DIGIT, digit) = {
        {  { 0xFF70 }, { 0,1,0 }  },    /* HALF KATA PL -     */
        {  { 0xFF71 }, { 0,1,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,1,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, digit) }
index f1f71b913a012922b6def72ecda29cc40a3af1e5..f94cec709ad84b743bb7ac1d50e02bf0323711c9 100644 (file)
@@ -44,7 +44,7 @@ TST_ISW_LOC (GRAPH, graph) = {
        {  { 0x00F7 }, { 0,0,0 }  },    /* division */
        {  { 0x00F8 }, { 0,0,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,0,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (enUS, graph)
@@ -69,7 +69,7 @@ TST_ISW_LOC (GRAPH, graph) = {
        {  { 0x007E }, { 0,0,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  }, /* 20 */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC( eucJP, graph )
@@ -156,7 +156,7 @@ TST_ISW_LOC (GRAPH, graph) = {
        {  { 0xFF70 }, { 0,0,0 }  },    /* HALF KATA PL -     */
        {  { 0xFF71 }, { 0,0,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,0,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, graph) }
index 23f767a88d23a206d8b0cc99c8387ec69ca77ba0..20b2a2a48e454c3a148766bed2a93ffa449f2370 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (LOWER, lower) = {
        {  { 0x00F7 }, { 0,1,0 }  },    /* division */
        {  { 0x00F8 }, { 0,0,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,0,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (enUS, lower)
@@ -65,7 +65,7 @@ TST_ISW_LOC (LOWER, lower) = {
        {  { 0x007E }, { 0,1,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  },
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (eucJP, lower)
@@ -84,7 +84,7 @@ TST_ISW_LOC (LOWER, lower) = {
        {  { 0xFF6F }, { 0,1,0 }  },    /* HALF KATA tu       */
        {  { 0xFF71 }, { 0,1,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,1,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, lower) }
index 788d18f70ef578befa4fbd3b23f1774aa2e47a60..57acc7184ccfb00dc4492ee7ca1848c1c561de2c 100644 (file)
@@ -44,7 +44,7 @@ TST_ISW_LOC (PRINT, print) = {
        {  { 0x00F7 }, { 0,0,0 }  },  /* division */
        {  { 0x00F8 }, { 0,0,0 }  },  /* o stroke */
        {  { 0x00FF }, { 0,0,0 }  },  /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (enUS, print)
@@ -72,7 +72,7 @@ TST_ISW_LOC (PRINT, print) = {
 #ifdef NO_WAIVER
        {  { 0x3042 }, { 0,1,0 }  }, /* <WAIVER> */
 #endif
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (eucJP, print)
@@ -159,7 +159,7 @@ TST_ISW_LOC (PRINT, print) = {
        {  { 0xFF70 }, { 0,0,0 }  },  /* HALF KATA PL -     */
        {  { 0xFF71 }, { 0,0,0 }  },  /* HALF KATA A        */
        {  { 0xFF9E }, { 0,0,0 }  },  /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, print) }
index 3c9d1fcecdf69e7e7a80cadaf8091a0bfcb57296..b31e1bd50f1117f092081614c9232d1dd5d31b57 100644 (file)
@@ -44,7 +44,7 @@ TST_ISW_LOC (PUNCT, punct) = {
        {  { 0x00F7 }, { 0,0,0 }  },    /* division */
        {  { 0x00F8 }, { 0,1,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,1,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (enUS, punct)
@@ -69,7 +69,7 @@ TST_ISW_LOC (PUNCT, punct) = {
        {  { 0x007E }, { 0,0,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  }, /* 20 */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (eucJP, punct)
@@ -144,7 +144,7 @@ TST_ISW_LOC (PUNCT, punct) = {
        {  { 0xFF70 }, { 0,1,0 }  },    /* HALF KATA PL -     */
        {  { 0xFF71 }, { 0,1,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,1,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, punct) }
index f5a803d858debc43b19612d867d32588ed7346a3..885664bc04374f2e833ddd2776423b5e5488dfe5 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (SPACE, space) = {
        {  { 0x00F7 }, { 0,1,0 }  },    /* division */
        {  { 0x00F8 }, { 0,1,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,1,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (enUS, space)
@@ -69,7 +69,7 @@ TST_ISW_LOC (SPACE, space) = {
        {  { 0x007E }, { 0,1,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  },
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (eucJP, space)
@@ -118,7 +118,7 @@ TST_ISW_LOC (SPACE, space) = {
        {  { 0xFF70 }, { 0,1,0 }  },    /* HALF KATA PL -     */
        {  { 0xFF71 }, { 0,1,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,1,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, space) }
index 72b6755ef20a9045d03122248596be88e58969fb..4c732f76510445210248b0c2e038b3e2fdab8521 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (UPPER, upper) = {
        {  { 0x00F7 }, { 0,1,0 }  },    /* division */
        {  { 0x00F8 }, { 0,1,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,1,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last entry.  */
+       { .is_last = 1 }                /* Last entry.  */
       }
   },
   {   TST_ISW_REC (enUS, upper)
@@ -65,7 +65,7 @@ TST_ISW_LOC (UPPER, upper) = {
        {  { 0x007E }, { 0,1,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  },
-       { is_last: 1 }            /* Last entry.  */
+       { .is_last = 1 }                /* Last entry.  */
       }
   },
   {   TST_ISW_REC (eucJP, upper)
@@ -83,7 +83,7 @@ TST_ISW_LOC (UPPER, upper) = {
        {  { 0xFF6F }, { 0,1,0 }  },    /* HALF KATA tu       */
        {  { 0xFF71 }, { 0,1,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,1,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last entry.  */
+       { .is_last = 1 }                /* Last entry.  */
       }
   },
   {   TST_ISW_REC (end, upper) }
index ca118e1bc4bb0809d9b5b22b90390ef7a953c6e7..65afbc119356547f5103e2d78a116043a658337f 100644 (file)
@@ -40,7 +40,7 @@ TST_ISW_LOC (XDIGIT, xdigit) = {
        {  { 0x00F7 }, { 0,1,0 }  },    /* division */
        {  { 0x00F8 }, { 0,1,0 }  },    /* o stroke */
        {  { 0x00FF }, { 0,1,0 }  },    /* y dia    */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC( enUS, xdigit )
@@ -65,7 +65,7 @@ TST_ISW_LOC (XDIGIT, xdigit) = {
        {  { 0x007E }, { 0,1,0 }  },
        {  { 0x007F }, { 0,1,0 }  },
        {  { 0x0080 }, { 0,1,0 }  },
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC( eucJP, xdigit )
@@ -114,7 +114,7 @@ TST_ISW_LOC (XDIGIT, xdigit) = {
        {  { 0xFF70 }, { 0,1,0 }  },    /* HALF KATA PL -     */
        {  { 0xFF71 }, { 0,1,0 }  },    /* HALF KATA A        */
        {  { 0xFF9E }, { 0,1,0 }  },    /* HALF KATA MI       */
-       { is_last: 1 }                  /* Last element.  */
+       { .is_last = 1 }                /* Last element.  */
       }
   },
   {   TST_ISW_REC (end, xdigit) }
index ce47c2e4020f53d429ec20a77da323e169b0fb29..507ab8f35c61ba1fb42ab2c897e5d608d0d228da 100644 (file)
@@ -68,7 +68,7 @@ TST_MBLEN tst_mblen_loc [] = {
       /* 06: a null pointer.  */
       {         { 0, "",          USE_MBCURMAX }, { 0, 0,  0 }  },
       /* Last element. */
-      {         is_last: 1 }
+      {         .is_last = 1 }
     }
   },
   {
@@ -87,7 +87,7 @@ TST_MBLEN tst_mblen_loc [] = {
       /* 06: a null pointer.  */            
       {         { 0, "",          USE_MBCURMAX }, { 0, 0,  0 }  },
       /* Last element. */
-      {         is_last: 1 }
+      {         .is_last = 1 }
     }
   },
   {
@@ -106,7 +106,7 @@ TST_MBLEN tst_mblen_loc [] = {
       /* 06: a null pointer.  */            
       {         { 0, "",          USE_MBCURMAX }, { 0, 0,  0 }  },
       /* Last element. */
-      {         is_last: 1 }
+      {         .is_last = 1 }
     }
   },
   {
index 3d396c9ea5ecf6fa20891b2e56465ef825bc850f..a21ab762a8bf5a353763da2fdecfca6fda07de65 100644 (file)
@@ -52,7 +52,7 @@ TST_MBRLEN tst_mbrlen_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -90,7 +90,7 @@ TST_MBRLEN tst_mbrlen_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -150,7 +150,7 @@ TST_MBRLEN tst_mbrlen_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 375ae17682aaca4860eaf638720feb04f8a19625..b8eb3dd2101649dc5481e1cfc362861065056468 100644 (file)
@@ -52,7 +52,7 @@ TST_MBRTOWC tst_mbrtowc_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
 #if 0
@@ -92,7 +92,7 @@ TST_MBRTOWC tst_mbrtowc_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -130,7 +130,7 @@ TST_MBRTOWC tst_mbrtowc_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
 #endif
index 654f309cbb26a9f86b28d59f10f049818b419235..e1ee1819a866cda536cd1a3179f9e6c6df35346f 100644 (file)
@@ -45,7 +45,7 @@ TST_MBSRTOWCS tst_mbsrtowcs_loc [] = {
        }
       },
       { /*----------------- END -----------------*/
-       is_last: 1
+       .is_last = 1
       }
     }
   },
@@ -86,7 +86,7 @@ TST_MBSRTOWCS tst_mbsrtowcs_loc [] = {
        }
       },
       { /*----------------- END -----------------*/
-       is_last: 1
+       .is_last = 1
       }
     }
   },
@@ -127,7 +127,7 @@ TST_MBSRTOWCS tst_mbsrtowcs_loc [] = {
        }
       },
       { /*----------------- END -----------------*/
-       is_last: 1
+       .is_last = 1
       }
     }
   },
index 855cca50bbf2feb020edf12ce6e0ffc3e803f08f..cabe4cdf2408d475bb3f1f767012a2f847c52efc 100644 (file)
@@ -44,7 +44,7 @@ TST_MBSTOWCS tst_mbstowcs_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -82,7 +82,7 @@ TST_MBSTOWCS tst_mbstowcs_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -130,7 +130,7 @@ TST_MBSTOWCS tst_mbstowcs_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 084087f39803e47ac68e5262da0dcf1475dba5d0..5168ed184dabeeb97fd919c03bd5c06f0160068a 100644 (file)
@@ -146,7 +146,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -232,7 +232,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -332,7 +332,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 4afd719e292f9231c2198857f7b12d87d0fa9b6a..168425ce0640eb7433f7f9ca645fd96ca6ce647f 100644 (file)
@@ -54,7 +54,7 @@ TST_STRCOLL tst_strcoll_loc [] = {
       { /*input.*/ { "B",      "ä"                   },  /* #9 */
        /*expect*/ { 0,0,+1,                          },
       },
-      { is_last: 1 } /* Last element.  */
+      { .is_last = 1 } /* Last element.  */
     }
   },
   {
@@ -109,7 +109,7 @@ TST_STRCOLL tst_strcoll_loc [] = {
        /*expect*/ { EINVAL,0,0,                      },
       },
 #endif
-      { is_last: 1 } /* Last element.  */
+      { .is_last = 1 } /* Last element.  */
     }
   },
   {
@@ -153,7 +153,7 @@ TST_STRCOLL tst_strcoll_loc [] = {
        /*expect*/ { EINVAL,0,0,                      },
       },
 #endif
-      { is_last: 1 } /* Last element.  */
+      { .is_last = 1 } /* Last element.  */
     }
   },
   {
index d06169814f018160c9ca2c1de87b1e9328603a09..76c756374e4949f97effba62342034a63a430260 100644 (file)
@@ -93,7 +93,7 @@ TST_STRFMON tst_strfmon_loc [] = {
        /*inp*/ { 33, "%(#5n|%!(#5i",   -1234.561                       },
        /*exp*/ { 0,1,27,                    "( 1.234,56 EUR)|( 1.234,56)"},
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -174,7 +174,7 @@ TST_STRFMON tst_strfmon_loc [] = {
        /*inp*/ { 32, "%(#5n|%!(#5i",   -1234.561                       },
        /*exp*/ { 0,1,24,                    "($ 1,234.56)|( 1,234.56)" },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -255,7 +255,7 @@ TST_STRFMON tst_strfmon_loc [] = {
        /*inp*/ { 32, "%(#5n|%!(#5i",   -1234.561                          },
        /*exp*/ { 0,1,19,                "(\241\357 1,235)|( 1,235)"       },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 0005f73e46a10e07c0d4c8964381edd3074649ee..2642be4a666d2dab81e19eeb5e07556f50349795 100644 (file)
@@ -50,7 +50,7 @@ TST_STRXFRM tst_strxfrm_loc [] = {
        /*inp*/ { "abc", "\244\241\244\242",  13,  9 },  /* #07 */
        /*exp*/ { 0,0,0,                       },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -81,7 +81,7 @@ TST_STRXFRM tst_strxfrm_loc [] = {
        /*exp*/ { EINVAL,0,0,                  },
       },
 #endif
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -108,7 +108,7 @@ TST_STRXFRM tst_strxfrm_loc [] = {
        /*exp*/ { EINVAL,0,0,                  },
       },
 #endif
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 96f6c67c0bdfb7009d99f2dcf5ba0f89f2afa046..08fd2d508c6ebc6d4551bb0dbc24b872afbc979e 100644 (file)
@@ -71,7 +71,7 @@ TST_SWSCANF tst_swscanf_loc [] =
        },
       },
       /*---------------------------------------------------*/
-      { is_last: 1}    /* Last element.  */
+      { .is_last = 1}  /* Last element.  */
     }
   },
   {
@@ -112,7 +112,7 @@ TST_SWSCANF tst_swscanf_loc [] =
        },
       },
       /*---------------------------------------------------*/
-      { is_last: 1}    /* Last element.  */
+      { .is_last = 1}  /* Last element.  */
     }
   },
   {
@@ -172,7 +172,7 @@ TST_SWSCANF tst_swscanf_loc [] =
       },
 #endif
       /*---------------------------------------------------*/
-      { is_last: 1}    /* Last element.  */
+      { .is_last = 1}  /* Last element.  */
     }
   },
   {
index 9b632c4d207b371ef5e9c963412b8d352f4734f4..6816af9c03e28ec2717fbcb44ee6694d2833b85e 100644 (file)
@@ -46,7 +46,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
       {         { 0x007F, "tolower" }, { 0,       1,0x007F }  },
       {         { 0x0061, "toupper" }, { 0,       1,0x0041 }  },
       {         { 0x0041, "tolower" }, { 0,       1,0x0061 }  },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -60,7 +60,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
       {         { 0x0080, "tolower" }, { 0,       1,0x0080 }  },
       {         { 0x00EC, "toupper" }, { 0,       1,0x00CC }  },
       {         { 0x00CC, "tolower" }, { 0,       1,0x00EC }  },
-      { is_last: 1 }             
+      { .is_last = 1 }           
     }                            
   },                             
   {                              
@@ -74,7 +74,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
       {         { 0x007F, "tolower" }, { 0,       1,0x007F }  },
       {         { 0x0061, "toupper" }, { 0,       1,0x0041 }  },
       {         { 0x0041, "tolower" }, { 0,       1,0x0061 }  },
-      { is_last: 1 }             
+      { .is_last = 1 }           
     }                            
   },                             
   {                              
@@ -84,7 +84,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
       {         { 0xFF41, "toupper" }, { 0,       1,0xFF21 }  },
       {         { 0x30A1, "tojhira" }, { 0,       1,0x3041 }  },
       {         { 0x3041, "tojkata" }, { 0,       1,0x30A1 }  },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index bc809419795aae29c87f4c244a8391d9547efbbe..5074749e79b187e17271ca6631120b796ddc561d 100644 (file)
@@ -18,7 +18,7 @@ TST_TOW_LOC (LOWER, lower) = {
        {  { 0x0080 }, { 0,  1, 0x0080     }    },
        {  { 0x00CC }, { 0,  1, 0x00EC     }    },
        {  { 0x00EC }, { 0,  1, 0x00EC     }    },
-       { is_last: 1 } /* Last element.  */
+       { .is_last = 1 } /* Last element.        */
       }
   },
   {   TST_TOW_REC (enUS, lower)
@@ -27,7 +27,7 @@ TST_TOW_LOC (LOWER, lower) = {
        {  { 0x007F }, { 0,  1, 0x007F     }    },
        {  { 0x0041 }, { 0,  1, 0x0061     }    },
        {  { 0x0061 }, { 0,  1, 0x0061     }    },
-       { is_last: 1 } /* Last element.  */
+       { .is_last = 1 } /* Last element.        */
       }
   },
   {   TST_TOW_REC (eucJP, lower)
@@ -36,7 +36,7 @@ TST_TOW_LOC (LOWER, lower) = {
        {  { 0x0080 }, { 0,  1, 0x0080     }    },
        {  { 0xFF21 }, { 0,  1, 0xFF41     }    },
        {  { 0xFF41 }, { 0,  1, 0xFF41     }    },
-       { is_last: 1 } /* Last element.  */
+       { .is_last = 1 } /* Last element.        */
       }
   },
   {   TST_TOW_REC (end, lower) }
index ef706a84ad81daedf332ceb74e624e61afeabd3f..5d971f3f0dcc12b5a47aad307373285db31fcf4a 100644 (file)
@@ -18,7 +18,7 @@ TST_TOW_LOC (UPPER, upper) = {
        {  { 0x0080 }, { 0,  1, 0x0080     }    },
        {  { 0x00EC }, { 0,  1, 0x00CC     }    },
        {  { 0x00CC }, { 0,  1, 0x00CC     }    },
-       { is_last: 1 } /* Last element.  */
+       { .is_last = 1 } /* Last element.        */
       }
   },
   {   TST_TOW_REC (enUS, upper)
@@ -27,7 +27,7 @@ TST_TOW_LOC (UPPER, upper) = {
        {  { 0x0080 }, { 0,  1, 0x0080     }    },
        {  { 0x0041 }, { 0,  1, 0x0041     }    },
        {  { 0x0061 }, { 0,  1, 0x0041     }    },
-       { is_last: 1 } /* Last element.  */
+       { .is_last = 1 } /* Last element.        */
       }
   },
   {   TST_TOW_REC (eucJP, upper)
@@ -36,7 +36,7 @@ TST_TOW_LOC (UPPER, upper) = {
        {  { 0x007F }, { 0,  1, 0x007F     }    },
        {  { 0xFF41 }, { 0,  1, 0xFF21     }    },
        {  { 0xFF21 }, { 0,  1, 0xFF21     }    },
-       { is_last: 1 } /* Last element.  */
+       { .is_last = 1 } /* Last element.        */
       }
   },
   {   TST_TOW_REC (end, upper) }
index e25636311141ea09d2cef70a16f8b65335c9b783..8500f684430178ae09c58fd7dfe39aaa6cafb19c 100644 (file)
@@ -31,7 +31,7 @@ TST_WCRTOMB tst_wcrtomb_loc [] = {
       { /*input.*/ { 0,                 0x0092,   0,0 },
        /*expect*/ { 0,    1,1,  ""            },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -58,7 +58,7 @@ TST_WCRTOMB tst_wcrtomb_loc [] = {
       { /*input.*/ { 0,                 0x0092,   0,0 },
        /*expect*/ { 0,    1,1,  ""            },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -84,7 +84,7 @@ TST_WCRTOMB tst_wcrtomb_loc [] = {
       { /*input.*/ { 0,                 0x008E,   0,0 },
        /*expect*/ { 0,    0,0,  ""            },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 652504647b9f79ce9880c417e493afb29a6c1e0a..449f4b575dea592597d6e33cf7b30307ec4a679b 100644 (file)
@@ -43,7 +43,7 @@ TST_WCSCAT tst_wcscat_loc [] = {
        {   0,  0,    0,
           { 0x0001,0xFFFF,0x0080,0x0090,0x0000 }       },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
@@ -73,7 +73,7 @@ TST_WCSCAT tst_wcscat_loc [] = {
        {   0,    0,    0,
           { 0x0001,0xFFFF,0x0080,0x0090,0x0000 }  },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
@@ -103,7 +103,7 @@ TST_WCSCAT tst_wcscat_loc [] = {
        {   0,  0,    0,
           { 0x0001,0xFFFF,0x0080,0x0090,0x0000 }       },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
index 78eea8dd83ad2bfaa81d0582c20a9da488e92227..3e256f75510e050fe81911f879f42ece675d6eca 100644 (file)
@@ -31,7 +31,7 @@ TST_WCSCHR tst_wcschr_loc [] = {
          { /*input.*/ { { 0x0000,0x00C2,0x00C3,0x0000 }, 0x0000 },  /* #7 */
            /*expect*/ { 0,0,0 },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcschr, TST_LOC_enUS },
@@ -57,7 +57,7 @@ TST_WCSCHR tst_wcschr_loc [] = {
          { /*input.*/ { { 0x0000,0x0042,0x0043,0x0000 }, 0x0000 },  /* #7 */
            /*expect*/ { 0,0,0 },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcschr, TST_LOC_eucJP },
@@ -83,7 +83,7 @@ TST_WCSCHR tst_wcschr_loc [] = {
          { /*input.*/ { { 0x0000,0x3042,0x3043,0x0000 }, 0x0000 },  /* #7 */
            /*expect*/ { 0,0,0 },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcschr, TST_LOC_end } }
index d479ab49f3149e9f25cdbf15649bf59bd7c964ea..a7be0fe75eaec3b233eb60c72643ce3c45b97c0b 100644 (file)
@@ -48,7 +48,7 @@ TST_WCSCMP tst_wcscmp_loc [] = {
                     { 0x00D1,0x00D2,0x0000            }, },  /* #8 */
        /*expect*/ { 0,1,1,                       },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -86,7 +86,7 @@ TST_WCSCMP tst_wcscmp_loc [] = {
                     { 0x0041,0x0042,0x0000            }, },  /* #8 */
        /*expect*/ { 0,1,1,                       },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -124,7 +124,7 @@ TST_WCSCMP tst_wcscmp_loc [] = {
                     { 0x3041,0x3042,0x0000            }, },  /* #8 */
        /*expect*/ { 0,1,1,                       },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index a9ef9abc9ee8091f8cb34357ee42128b21b7d3ee..cfc3f85c90eff8b4a18d043c701af8fff4794aca 100644 (file)
@@ -83,7 +83,7 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
                         { 0x00E1,0x0092,0x00E9,0x0000 }, },  /* #10 */
            /*expect*/ { 0,0,0, -1,                    },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcscoll, TST_LOC_enUS },
@@ -154,7 +154,7 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
            /*expect*/ { 0,0,0, 0,                     },
          },
 #endif
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcscoll, TST_LOC_eucJP },
@@ -199,7 +199,7 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
                         { 0x30FF,0x3092,0x3049,0x0000 }, },  /* #10 */
            /*expect*/ { 0,0,0, +1,                    },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcscoll, TST_LOC_end } }
index 8ae2f1f6851a2e20251d1ea73fe83dc535d760df..9313659f48a413b40bde5d9c660fe1704a2cb227 100644 (file)
@@ -14,7 +14,7 @@ TST_WCSCPY tst_wcscpy_loc [] = {
              {  0,0,0,   { 0x00F1,0x00F2,0x00F3,0x0000, }  }, },
            { {           { 0x0000,0x00F2,0x00F3,0x0000  }, },     /* 2 */
              {  0,0,0,   { 0x0000,                      }  }, },
-           { is_last: 1 }
+           { .is_last = 1 }
        }
     },
     {  { Twcscpy, TST_LOC_enUS },
@@ -23,7 +23,7 @@ TST_WCSCPY tst_wcscpy_loc [] = {
              {  0,0,0,   { 0x0041,0x0082,0x0043,0x0000, }  }, },
            { {           { 0x0000,0x0082,0x0043,0x0000  }, },     /* 2 */
              {  0,0,0,   { 0x0000,                      }  }, },
-           { is_last: 1 }
+           { .is_last = 1 }
        }
     },
     {  { Twcscpy, TST_LOC_eucJP },
@@ -32,7 +32,7 @@ TST_WCSCPY tst_wcscpy_loc [] = {
              {  0,0,0,   { 0x3041,0x0092,0x3043,0x0000, }  }, },
            { {           { 0x0000,0x0092,0x3043,0x0000  }, },     /* 2 */
              {  0,0,0,   { 0x0000,                      }  }, },
-           { is_last: 1 }
+           { .is_last = 1 }
        }
     },
     {  { Twcscpy, TST_LOC_end }}
index ba166f66e1dd039a0e7a114634141251ecd2443f..a7abf406a7af79cc8a2f6d81635a95058aabc91f 100644 (file)
@@ -55,7 +55,7 @@ TST_WCSCSPN tst_wcscspn_loc [] = {
                         { 0x00D1,0x00D3,0x00D4,0x0000 }, },  /* #11 */
            /*expect*/ { 0,1,0,                   },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcscspn, TST_LOC_enUS },
@@ -104,7 +104,7 @@ TST_WCSCSPN tst_wcscspn_loc [] = {
                         { 0x0041,0x0043,0x0044,0x0000 }, },  /* #11 */
            /*expect*/ { 0,1,0,                   },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcscspn, TST_LOC_eucJP },
@@ -153,7 +153,7 @@ TST_WCSCSPN tst_wcscspn_loc [] = {
                         { 0x3041,0x3043,0x3044,0x0000 }, },  /* #11 */
            /*expect*/ { 0,1,0,                   },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twcscspn, TST_LOC_end }}
index a4c76b960160f2ecb857ced36ccd845f7e2c806c..1bc5900a74caa45b44e04b3e5f67dddee8add7e0 100644 (file)
@@ -29,7 +29,7 @@ TST_WCSLEN tst_wcslen_loc [] = {
        { /*input.*/ { { 0x0000 }                      },  /* #02 */
          /*expect*/ { 0,1,0,                        },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
   },
   {   { Twcslen, TST_LOC_enUS },
@@ -40,7 +40,7 @@ TST_WCSLEN tst_wcslen_loc [] = {
        { /*input.*/ { { 0x0000 }                      },  /* #02 */
          /*expect*/ { 0,1,0,                        },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
   },
   {   { Twcslen, TST_LOC_eucJP },
@@ -51,7 +51,7 @@ TST_WCSLEN tst_wcslen_loc [] = {
        { /*input.*/ { { 0x0000 }                      },  /* #02 */
          /*expect*/ { 0,1,0,                        },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
   },
   {   { Twcslen, TST_LOC_end }}
index f9adf9820fceb239af854915836fbbd7acad4dd1..948d80ce9fe001c42fb165bcc99e41d009d357a6 100644 (file)
@@ -58,7 +58,7 @@ TST_WCSNCAT tst_wcsncat_loc [] = {
        {   0,    0,    0,
           { 0x00E1,0x00E2,0x0000               }    },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
@@ -103,7 +103,7 @@ TST_WCSNCAT tst_wcsncat_loc [] = {
        {   0,    0,    0,
           { 0x0051,0x0052,0x0000               }    },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
@@ -145,7 +145,7 @@ TST_WCSNCAT tst_wcsncat_loc [] = {
        {   0,    0,    0,
           { 0x3051,0x3052,0x0000               }    },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
index 1d5d248e1d9ce56be384fb362f542a6558355849..167ce48a7f9ee2cf7b37612d24ba28f421291ab0 100644 (file)
@@ -47,7 +47,7 @@ TST_WCSNCMP tst_wcsncmp_loc [] = {
                     { 0x00D1,0x00D2,0x0000        }, 4 },  /* #09 */
        /*expect*/ { 0,1,0x00D3,                        },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -89,7 +89,7 @@ TST_WCSNCMP tst_wcsncmp_loc [] = {
                     { 0x0041,0x0042,0x0000        }, 4 },  /* #09 */
        /*expect*/ { 0,1,0x0043,                        },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -131,7 +131,7 @@ TST_WCSNCMP tst_wcsncmp_loc [] = {
                     { 0x3041,0x3042,0x0000        }, 4 },  /* #09 */
        /*expect*/ { 0,1,0x3043,                        },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 9677a519c84bb4a490703b1c2f9f682248508d18..38f34f13f73a3ecbcd034f6cbee38043f31fd2ec 100644 (file)
@@ -46,7 +46,7 @@ TST_WCSNCPY tst_wcsncpy_loc [] = {
       {{           { 0x0000,0x00D2,0x00D3,0x0000                      }, 3 },
        {    0,0,0, { 0x0000,0x0000,0x0000,0x9999,0x9999,0x9999,0x0000 }    },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
@@ -76,7 +76,7 @@ TST_WCSNCPY tst_wcsncpy_loc [] = {
       {{           { 0x0000,0x0042,0x0043,0x0000                      }, 3 },
        {    0,0,0, { 0x0000,0x0000,0x0000,0x9999,0x9999,0x9999,0x0000 }    },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
@@ -106,7 +106,7 @@ TST_WCSNCPY tst_wcsncpy_loc [] = {
       {{           { 0x0000,0x3042,0x3043,0x0000                      }, 3 },
        {    0,0,0, { 0x0000,0x0000,0x0000,0x9999,0x9999,0x9999,0x0000 }    },
       },
-      {is_last: 1}
+      {.is_last = 1}
     }
   },
   {
index 355313aae622558646623db88a7cf8fe51be55e3..a7f8f6e1cf8785cbb1ed3c44b11d9fa698804741 100644 (file)
@@ -63,7 +63,7 @@ TST_WCSPBRK tst_wcspbrk_loc [] = {
                     { 0x0000                      }, },  /* #11 */
        /*expect*/ { 0,1,(wchar_t *)NULL, 0x0000    },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -113,7 +113,7 @@ TST_WCSPBRK tst_wcspbrk_loc [] = {
                     { 0x0000                      }, },  /* #11 */
        /*expect*/ { 0,1,(wchar_t *)NULL, 0x0000    },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -163,7 +163,7 @@ TST_WCSPBRK tst_wcspbrk_loc [] = {
                     { 0x0000                      }, },  /* #11 */
        /*expect*/ { 0,1,(wchar_t *)NULL, 0x0000    },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index c3812cafee4907786a7a37bb4398ea558b7d3556..d3148b2a55dd296b8e47042e74ccb2091e8afa51 100644 (file)
@@ -75,7 +75,7 @@ TST_WCSRTOMBS tst_wcsrtombs_loc [] = {
       { /*input.*/ { 0,1,      { 0x0000 },                      5, 0, 0 },
        /*expect*/ { 0,1,0,      ""                                      },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -136,7 +136,7 @@ TST_WCSRTOMBS tst_wcsrtombs_loc [] = {
       { /*input.*/ { 0,1,      { 0x0000 },                      5, 0, 0 },
        /*expect*/ { 0,1,0,      ""                                      },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -198,7 +198,7 @@ TST_WCSRTOMBS tst_wcsrtombs_loc [] = {
       { /*input.*/ { 0,1,      { 0x0000 },                      5, 0, 0 },
        /*expect*/ { 0,1,0,      ""                                      },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 6a99262db68eff776a36b4a7c7d78f6b07bf68e9..138279b38cc9df3ecc88095d4965aeea24eb17e7 100644 (file)
@@ -58,7 +58,7 @@ TST_WCSSPN tst_wcsspn_loc [] = {
                       { 0x00D2,0x00D1,0x0000        }, },  /* #12 */
          /*expect*/ { 0,1,2,                           },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
     },
     {
@@ -112,7 +112,7 @@ TST_WCSSPN tst_wcsspn_loc [] = {
                       { 0x0042,0x0041,0x0000        }, },  /* #12 */
          /*expect*/ { 0,1,2,                           },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
     },
     {
@@ -166,7 +166,7 @@ TST_WCSSPN tst_wcsspn_loc [] = {
                       { 0x3042,0x3041,0x0000        }, },  /* #12 */
          /*expect*/ { 0,1,2,                           },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
     },
     {
index e40be35226262cd27966152339eeb43cf82bc557..a6a2b53af9112f824c2252d8cb511901d5a2d0bb 100644 (file)
@@ -62,7 +62,7 @@ TST_WCSSTR tst_wcsstr_loc [] = {
                     { 0x0000                      }, },  /* #11 */
        /*expect*/ { 0,0,0,                           },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -112,7 +112,7 @@ TST_WCSSTR tst_wcsstr_loc [] = {
                     { 0x0000                      }, },  /* #11 */
        /*expect*/ { 0,0,0,                           },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -162,7 +162,7 @@ TST_WCSSTR tst_wcsstr_loc [] = {
                     { 0x0000                      }, },  /* #11 */
        /*expect*/ { 0,0,0,                           },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 5de59f0b5a960ac9d846b42de9b65d9ae1646110..4b0faba2fc4004d39f82c60b1660509f74f66ccd 100644 (file)
@@ -32,7 +32,7 @@ TST_WCSTOD tst_wcstod_loc [] = {
        /*E*/
        { 0,1,123.456,         123.456,                    0x0040  }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -52,7 +52,7 @@ TST_WCSTOD tst_wcstod_loc [] = {
        /*E*/
        { 0,1,123.456,         123.456,                    0x0040  }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -65,7 +65,7 @@ TST_WCSTOD tst_wcstod_loc [] = {
        /*E*/
        { 0,1,123.456,         123.456,                    0x0040  }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index d9b50264bda3325082af124a7f71e308bdc256b6..5b931c250dea01788fd0f4b3ef7bd7d678aefbec 100644 (file)
@@ -51,7 +51,7 @@ TST_WCSTOK tst_wcstok_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -88,7 +88,7 @@ TST_WCSTOK tst_wcstok_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -125,7 +125,7 @@ TST_WCSTOK tst_wcstok_loc [] = {
          }
        }
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 4a7de0b725f9239480d9d43e8e7dc5af830bf7f5..a6dd0ec662820f66025b6bb1d1050af38433fc08 100644 (file)
@@ -74,7 +74,7 @@ TST_WCSTOMBS tst_wcstombs_loc [] = {
       { /*input.*/ { 0,1,             { 0x0000 },                      5 },
        /*expect*/ { 0,1,0,      ""                                       },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -135,7 +135,7 @@ TST_WCSTOMBS tst_wcstombs_loc [] = {
       { /*input.*/ { 0,1,             { 0x0000 },                      5  },
        /*expect*/ { 0,1,0,      ""                                        },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -197,7 +197,7 @@ TST_WCSTOMBS tst_wcstombs_loc [] = {
       { /*input.*/ { 0,1,             { 0x0000 },                      5  },
        /*expect*/ { 0,1,0,      ""                                        },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index fb66d979e5332ffaee5e974b44e28567fa065ea4..68054e797fbef427d470efd89e296a475290edb9 100644 (file)
@@ -74,7 +74,7 @@ TST_WCSWIDTH tst_wcswidth_loc [] = {
       { /*input.*/ { { 0x00C1,0x3044,0x0000 },          2 },  /* 20 */
        /*expect*/ { 0,1,-1                                },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -158,7 +158,7 @@ TST_WCSWIDTH tst_wcswidth_loc [] = {
       { /*input.*/ { { 0x0041,0x3044,0x0000 },          2 },  /* 20 */
        /*expect*/ { 0,1,-1                                },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -232,7 +232,7 @@ TST_WCSWIDTH tst_wcswidth_loc [] = {
       { /*input.*/ { { 0x0041,0x3044,0x0000 },          2 },  /* 20 */
        /*expect*/ { 0,1,3                                 },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 0abd0d4d3b383ebfc5d6fe7685ec6d58995325e8..231da3802970d4b6d813b920bfda2a0f8e128170 100644 (file)
@@ -37,7 +37,7 @@ TST_WCSXFRM tst_wcsxfrm_loc [] = {
       { /*inp*/ { { 0x00DC,0x0000 }, { 0x00E4,0x0000 }, 7, 7 },         /* #05 */
        /*exp*/ {   0,         0,0,                  },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -62,7 +62,7 @@ TST_WCSXFRM tst_wcsxfrm_loc [] = {
        /*exp*/ {   EINVAL,            1,(size_t)-1,         },
       },
 #endif
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -89,7 +89,7 @@ TST_WCSXFRM tst_wcsxfrm_loc [] = {
        /*exp*/ {   EINVAL,            1,(size_t)-1,         },
       },
 #endif
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index 62050480997e1a5e150ce17edaa0bef1531a8447..4247e694f01fb9a1f84f74e4806f66bd988aca57 100644 (file)
@@ -17,7 +17,7 @@ TST_WCTOB tst_wctob_loc [] = {
          {  { 0x0080 }, { 0,    1, 0x80       }  },
          {  { 0x00C4 }, { 0,    1, 0xC4       }  },
          {  { 0x30C4 }, { 0,    1, EOF        }  },
-         {  is_last: 1 } /* Last element.  */
+         {  .is_last = 1 } /* Last element.  */
        }
     },
     {  { Twctob, TST_LOC_enUS },
@@ -34,7 +34,7 @@ TST_WCTOB tst_wctob_loc [] = {
          {  { 0x00C4 }, { 0,    1, EOF        }  },
 #endif
          {  { 0x30C4 }, { 0,    1, EOF        }  },
-         {  is_last: 1 } /* Last element.  */
+         {  .is_last = 1 } /* Last element.  */
        }
     },
     {  { Twctob, TST_LOC_eucJP },
@@ -46,7 +46,7 @@ TST_WCTOB tst_wctob_loc [] = {
          {  { 0x00FF }, { 0,    1, EOF        }  },
          {  { 0x00C4 }, { 0,    1, EOF        }  },
          {  { 0x30C4 }, { 0,    1, EOF        }  },
-         {  is_last: 1 } /* Last element.  */
+         {  .is_last = 1 } /* Last element.  */
        }
     },
     {  { Twctob, TST_LOC_end } }
index e9f789f0e5b3468f1ff424e90aa5f92d175a817b..7394ca530bd3abf5dcddae37737d34274a0544fe 100644 (file)
@@ -77,7 +77,7 @@ TST_WCTOMB tst_wctomb_loc [] = {
       { /*input.*/ { 0,           0x0000  },
        /*expect*/ { 0,0,0,  ""    },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -104,7 +104,7 @@ TST_WCTOMB tst_wctomb_loc [] = {
       { /*input.*/ { 0,           0x0000  },
        /*expect*/ { 0,0,0,  ""    },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
@@ -130,7 +130,7 @@ TST_WCTOMB tst_wctomb_loc [] = {
       { /*input.*/ { 0,           0x008E  },
        /*expect*/ { 0,0,0,  ""    },
       },
-      { is_last: 1 }
+      { .is_last = 1 }
     }
   },
   {
index adb79f77fc10ea00456997709b247c62eac3a63c..1e7cb6c6dc9e445f73c56c032453d593e9f9550f 100644 (file)
@@ -36,7 +36,7 @@ TST_WCTRANS tst_wctrans_loc [] = {
           { /*inp*/ { "xxxxx"          },  /* #6 */
             /*exp*/ { 0,1,0,         },
           },
-         { is_last: 1 }
+         { .is_last = 1 }
         }
     },
     {   { Twctrans, TST_LOC_enUS },
@@ -59,7 +59,7 @@ TST_WCTRANS tst_wctrans_loc [] = {
           { /*inp*/ { "xxxxx"          },  /* #6 */
             /*exp*/ { 0,1,0,         },
           },
-         { is_last: 1 }
+         { .is_last = 1 }
         }
     },
     {   { Twctrans, TST_LOC_eucJP },
@@ -88,7 +88,7 @@ TST_WCTRANS tst_wctrans_loc [] = {
           { /*inp*/ { "tojkata"        },  /* #8 */
             /*exp*/ { 0,0,0,         },
           },
-         { is_last: 1 }
+         { .is_last = 1 }
         }
     },
     {   { Twctrans, TST_LOC_end }}
index e51b97db9955453b806c07ec872cb2e40c1f37a7..3e1c10ae5bf5148d92279fd0d1e6062ba41a0ae2 100644 (file)
@@ -66,7 +66,7 @@ TST_WCTYPE tst_wctype_loc [] = {
          { /*inp*/ { "special"        },  /* #16 */
            /*exp*/ { 0,1,0,           },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twctype, TST_LOC_enUS },
@@ -119,7 +119,7 @@ TST_WCTYPE tst_wctype_loc [] = {
          { /*inp*/ { "special"        },  /* #16 */
            /*exp*/ { 0,1,0,           },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twctype, TST_LOC_eucJP },
@@ -178,7 +178,7 @@ TST_WCTYPE tst_wctype_loc [] = {
          { /*inp*/ { "jdigit"         },  /* #18 */
            /*exp*/ { 0,0,0,           },
          },
-         { is_last: 1 }
+         { .is_last = 1 }
        }
     },
     {  { Twctype, TST_LOC_end }}
index 993b0f6bc776ba2e053407ae386c5ea88c00b02f..e50d963830239e9580e85c09d4f279c8a52eab57 100644 (file)
@@ -38,7 +38,7 @@ TST_WCWIDTH tst_wcwidth_loc [] = {
          /*exp*/ { 0,  1,EOF,       },
        },
 #endif
-       { is_last: 1 }
+       { .is_last = 1 }
       }
     },
     {
@@ -65,7 +65,7 @@ TST_WCWIDTH tst_wcwidth_loc [] = {
        { /*inp*/ { 0x3041                   },  /* #07 */
          /*exp*/ { 0,  1,-1,        },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
     },
     {
@@ -101,7 +101,7 @@ TST_WCWIDTH tst_wcwidth_loc [] = {
        { /*inp*/ { 0x3041                   },  /* #07 */
          /*exp*/ { 0,  1,2,         },
        },
-       { is_last: 1 }
+       { .is_last = 1 }
       }
     },
     {
index 05f24bb52bb537a0e426a28ab1978408df2e09e7..19918b072fdfb08c25ed404c38d160c0b659dcf6 100644 (file)
@@ -37,7 +37,7 @@ __pthread_cond_broadcast_2_0 (cond)
       if (newcond == NULL)
        return ENOMEM;
 
-      *newcond = (struct pthread_cond_t) PTHREAD_COND_INITIALIZER;
+      *newcond = (pthread_cond_t) PTHREAD_COND_INITIALIZER;
 
       atomic_write_barrier ();
 
index 717a33912bbf021bc93237e832dc12151949a4c1..c646b4dd402bf69edbfe914c99c86f6c19a5f120 100644 (file)
@@ -37,7 +37,7 @@ __pthread_cond_signal_2_0 (cond)
       if (newcond == NULL)
        return ENOMEM;
 
-      *newcond = (struct pthread_cond_t) PTHREAD_COND_INITIALIZER;
+      *newcond = (pthread_cond_t) PTHREAD_COND_INITIALIZER;
 
       atomic_write_barrier ();
 
index ef4db9e6e8837ad98e69b9654cd5e1375af17858..ef8047e1b8958119a9da4ff8864c7363cdfe4d16 100644 (file)
@@ -39,7 +39,7 @@ __pthread_cond_timedwait_2_0 (cond, mutex, abstime)
       if (newcond == NULL)
        return ENOMEM;
 
-      *newcond = (struct pthread_cond_t) PTHREAD_COND_INITIALIZER;
+      *newcond = (pthread_cond_t) PTHREAD_COND_INITIALIZER;
 
       atomic_write_barrier ();
 
index b124b260d46dfbddb52c0883b81ec9eabf1c9864..3b54faca69c0434d021dc83a6731c503d4fdb064 100644 (file)
@@ -38,7 +38,7 @@ __pthread_cond_wait_2_0 (cond, mutex)
       if (newcond == NULL)
        return ENOMEM;
 
-      *newcond = (struct pthread_cond_t) PTHREAD_COND_INITIALIZER;
+      *newcond = (pthread_cond_t) PTHREAD_COND_INITIALIZER;
 
       atomic_write_barrier ();
 
index 67a3467aa7d3f25d355a14543f8385babee9305d..9bd4e5c74770cdcb39b2b241b6d1f4c8225ca813 100644 (file)
@@ -92,7 +92,8 @@ compat_symbol (libc, _res, _res, GLIBC_2_0);
 
 #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_2)
 # undef res_init
-strong_alias (__res_init, __res_init_weak);
+extern int __res_init_weak (void);
 weak_extern (__res_init_weak);
+strong_alias (__res_init, __res_init_weak);
 compat_symbol (libc, __res_init_weak, res_init, GLIBC_2_0);
 #endif
index da65caea416e8a6cc79d011e072dec2c93e5e0ad..60b6eda4d3fef7fd5966ab8b4d55309d0fa6276f 100644 (file)
        "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", \
        "$22", "$23", "$24", "$25", "$27", "$28", "memory"
 
+/* If TLS is in use, we have a conflict between the PAL_rduniq primitive,
+   as modeled within GCC, and explicit use of the R0 register.  If we use
+   the register via the asm, the scheduler may place the PAL_rduniq insn
+   before we've copied the data from R0 into _sc_ret.  If this happens 
+   we'll get a reload abort, since R0 is live at the same time it is 
+   needed for the PAL_rduniq.
+
+   Solve this by using the "v" constraint instead of an asm for the syscall
+   output.  We don't do this unconditionally to allow compilation with
+   older compilers.  */
+
+#ifdef USE_TLS
+#define inline_syscall_r0_asm
+#define inline_syscall_r0_constraint   "v"
+#else
+#define inline_syscall_r0_asm          __asm__("$0")
+#define inline_syscall_r0_constraint   "r"
+#endif
+
 /* It is moderately important optimization-wise to limit the lifetime
    of the hard-register variables as much as possible.  Thus we copy
    in/out as close to the asm as possible.  */
 
-#define inline_syscall0(name)                          \
-{                                                      \
-       register long _sc_0 __asm__("$0");              \
-       register long _sc_19 __asm__("$19");            \
-                                                       \
-       _sc_0 = __NR_##name;                            \
-       __asm__("callsys # %0 %1 <= %2"                 \
-               : "=r"(_sc_0), "=r"(_sc_19)             \
-               : "0"(_sc_0)                            \
-               : inline_syscall_clobbers,              \
-                 "$16", "$17", "$18", "$20", "$21");   \
-       _sc_ret = _sc_0, _sc_err = _sc_19;              \
+#define inline_syscall0(name, args...)                         \
+{                                                              \
+       register long _sc_0 inline_syscall_r0_asm;              \
+       register long _sc_19 __asm__("$19");                    \
+                                                               \
+       _sc_0 = __NR_##name;                                    \
+       __asm__("callsys # %0 %1 <= %2"                         \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19)                                  \
+               : "0"(_sc_0)                                    \
+               : inline_syscall_clobbers,                      \
+                 "$16", "$17", "$18", "$20", "$21");           \
+       _sc_ret = _sc_0, _sc_err = _sc_19;                      \
 }
 
-#define inline_syscall1(name,arg1)                     \
-{                                                      \
-       register long _sc_0 __asm__("$0");              \
-       register long _sc_16 __asm__("$16");            \
-       register long _sc_19 __asm__("$19");            \
-                                                       \
-       _sc_0 = __NR_##name;                            \
-       _sc_16 = (long) (arg1);                         \
-       __asm__("callsys # %0 %1 <= %2 %3"              \
-               : "=r"(_sc_0), "=r"(_sc_19),            \
-                 "=r"(_sc_16)                          \
-               : "0"(_sc_0), "2"(_sc_16)               \
-               : inline_syscall_clobbers,              \
-                 "$17", "$18", "$20", "$21");          \
-       _sc_ret = _sc_0, _sc_err = _sc_19;              \
+#define inline_syscall1(name,arg1)                             \
+{                                                              \
+       register long _sc_0 inline_syscall_r0_asm;              \
+       register long _sc_16 __asm__("$16");                    \
+       register long _sc_19 __asm__("$19");                    \
+                                                               \
+       _sc_0 = __NR_##name;                                    \
+       _sc_16 = (long) (arg1);                                 \
+       __asm__("callsys # %0 %1 <= %2 %3"                      \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19), "=r"(_sc_16)                    \
+               : "0"(_sc_0), "2"(_sc_16)                       \
+               : inline_syscall_clobbers,                      \
+                 "$17", "$18", "$20", "$21");                  \
+       _sc_ret = _sc_0, _sc_err = _sc_19;                      \
 }
 
 #define inline_syscall2(name,arg1,arg2)                                \
 {                                                              \
-       register long _sc_0 __asm__("$0");                      \
+       register long _sc_0 inline_syscall_r0_asm;              \
        register long _sc_16 __asm__("$16");                    \
        register long _sc_17 __asm__("$17");                    \
        register long _sc_19 __asm__("$19");                    \
        _sc_16 = (long) (arg1);                                 \
        _sc_17 = (long) (arg2);                                 \
        __asm__("callsys # %0 %1 <= %2 %3 %4"                   \
-               : "=r"(_sc_0), "=r"(_sc_19),                    \
-                 "=r"(_sc_16), "=r"(_sc_17)                    \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17)      \
                : "0"(_sc_0), "2"(_sc_16), "3"(_sc_17)          \
                : inline_syscall_clobbers,                      \
                  "$18", "$20", "$21");                         \
 
 #define inline_syscall3(name,arg1,arg2,arg3)                   \
 {                                                              \
-       register long _sc_0 __asm__("$0");                      \
+       register long _sc_0 inline_syscall_r0_asm;              \
        register long _sc_16 __asm__("$16");                    \
        register long _sc_17 __asm__("$17");                    \
        register long _sc_18 __asm__("$18");                    \
        _sc_17 = (long) (arg2);                                 \
        _sc_18 = (long) (arg3);                                 \
        __asm__("callsys # %0 %1 <= %2 %3 %4 %5"                \
-               : "=r"(_sc_0), "=r"(_sc_19),                    \
-                 "=r"(_sc_16), "=r"(_sc_17), "=r"(_sc_18)      \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17),     \
+                 "=r"(_sc_18)                                  \
                : "0"(_sc_0), "2"(_sc_16), "3"(_sc_17),         \
                  "4"(_sc_18)                                   \
                : inline_syscall_clobbers, "$20", "$21");       \
 
 #define inline_syscall4(name,arg1,arg2,arg3,arg4)              \
 {                                                              \
-       register long _sc_0 __asm__("$0");                      \
+       register long _sc_0 inline_syscall_r0_asm;              \
        register long _sc_16 __asm__("$16");                    \
        register long _sc_17 __asm__("$17");                    \
        register long _sc_18 __asm__("$18");                    \
        _sc_18 = (long) (arg3);                                 \
        _sc_19 = (long) (arg4);                                 \
        __asm__("callsys # %0 %1 <= %2 %3 %4 %5 %6"             \
-               : "=r"(_sc_0), "=r"(_sc_19),                    \
-                 "=r"(_sc_16), "=r"(_sc_17), "=r"(_sc_18)      \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17),     \
+                 "=r"(_sc_18)                                  \
                : "0"(_sc_0), "2"(_sc_16), "3"(_sc_17),         \
                  "4"(_sc_18), "1"(_sc_19)                      \
                : inline_syscall_clobbers, "$20", "$21");       \
 
 #define inline_syscall5(name,arg1,arg2,arg3,arg4,arg5)         \
 {                                                              \
-       register long _sc_0 __asm__("$0");                      \
+       register long _sc_0 inline_syscall_r0_asm;              \
        register long _sc_16 __asm__("$16");                    \
        register long _sc_17 __asm__("$17");                    \
        register long _sc_18 __asm__("$18");                    \
        _sc_19 = (long) (arg4);                                 \
        _sc_20 = (long) (arg5);                                 \
        __asm__("callsys # %0 %1 <= %2 %3 %4 %5 %6 %7"          \
-               : "=r"(_sc_0), "=r"(_sc_19),                    \
-                 "=r"(_sc_16), "=r"(_sc_17), "=r"(_sc_18),     \
-                 "=r"(_sc_20)                                  \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17),     \
+                 "=r"(_sc_18), "=r"(_sc_20)                    \
                : "0"(_sc_0), "2"(_sc_16), "3"(_sc_17),         \
                  "4"(_sc_18), "1"(_sc_19), "5"(_sc_20)         \
                : inline_syscall_clobbers, "$21");              \
 
 #define inline_syscall6(name,arg1,arg2,arg3,arg4,arg5,arg6)    \
 {                                                              \
-       register long _sc_0 __asm__("$0");                      \
+       register long _sc_0 inline_syscall_r0_asm;              \
        register long _sc_16 __asm__("$16");                    \
        register long _sc_17 __asm__("$17");                    \
        register long _sc_18 __asm__("$18");                    \
        _sc_20 = (long) (arg5);                                 \
        _sc_21 = (long) (arg6);                                 \
        __asm__("callsys # %0 %1 <= %2 %3 %4 %5 %6 %7 %8"       \
-               : "=r"(_sc_0), "=r"(_sc_19)                     \
-                 "=r"(_sc_16), "=r"(_sc_17), "=r"(_sc_18),     \
-                 "=r"(_sc_20), "=r"(_sc_21)                    \
+               : "=" inline_syscall_r0_constraint (_sc_0),     \
+                 "=r"(_sc_19) "=r"(_sc_16), "=r"(_sc_17),      \
+                 "=r"(_sc_18), "=r"(_sc_20), "=r"(_sc_21)      \
                : "0"(_sc_0), "2"(_sc_16), "3"(_sc_17),         \
                  "4"(_sc_18), "1"(_sc_19), "5"(_sc_20),        \
                  "6"(_sc_21)                                   \
This page took 0.149991 seconds and 5 git commands to generate.