[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LI18NUX comments to LSB 0.4.2



I'm sorry, I miss type the lsb-spec mailing list address.
This is resend.

Best regards,
Akio Kido (Globalization CoC, Yamato, IBM  & Co-chair person of Li18nux)
1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken 242, Japan (LAB-SA4)
E-mail: kido@jp.ibm.com  Tel: +81-46-215-5436 FAX: +81-46-272-3352
---------------------- Forwarded by Akio Kido/Japan/IBM on 2001/02/05 13:14
---------------------------

From: Akio Kido on 2001/02/05 09:35

To:   anderson@metrolink.com
cc:   sb-spec@lists.linuxbase.org, li18nux-sa@li18nux.org
From: Akio Kido/Japan/IBM@IBMJP
Subject:  LI18NUX comments to LSB 0.4.2


Dear Stuart,

FSG/LI18NUX project/System Architecture group reviewed
the LSB 0.4.2 and found the following comments.

We only reviewed internationalization related area.

-----------------------------------------------------------

1. Asterisk '*' and const keyword are dropped from header file definitions

   All required asterisks and const keywords are lacked in API interface
   definitions. For example,

       char strcat( char, char )

   should be

       char* strcat( char*, const char*)

    This kind of errors were found may times in the document.


2. Lack of typedef definitions

   We can not find typedef definitions in header file definition.

   For example, LI18NUX2000 requires

         wchar_t
         wint_t
         wchtype_t
         wctrans_t

3. Lack of limits.h, errno.h, regex.h, iconv.h, langinfo.h and libintl.h

    We can not find some of required header files, such as
    limit.h, errno.h, regex.h, iconv.h, langinfo.h, libintl.h.

4. Lack of #define statement

    The following #define statements (or global variable) required for
LI18NUX2000
    are lacked from the LSB specification.

         NL_CAT_LOCALE     ( nl_types.h )
         FILENAME_MAX       ( stdio.h )
         MB_CUR_MAX          ( stdlib.h )
         MB_LEN_MAX           ( limits.h )

5. Lack of library functions

   LI18NUX2000 specification requires the following library functions.

         btowc(), fgetwc(), fgetws(), fputwc(), fputws(), fwide(), fwprintf
(), fwscanf(),
         getwc(), getws(), localeconv(), putwc(), putws(), putwchar(),
strftime(),
         swprintf(), swscanf(), tpwctrans(), towlower(), towupper(),
ungetwc(),
         vfwprintf(), vswprintf(), vwprintf(), wcsftime(), wmemchr(),
wmemcmp(),
         wmemcpy(), wmemmove(), wmemset(), wprintf(), wscanf()

         iconv(), iconv_close(), iconv_open(), nl_langinfo(), strfmon(),
strptime()

         gettext(), dgettext(), textdomain(), bindtextdomain(), dcgettext
(),
         ngettext(), dngettext(), dcngettext(), bind_textdomain_codeset()



6, Lack of Utiliries

    The following shell and utilities required for LI18NUX2000 are lacked

        shell   ( sh or bash )

        ex, vi

        cpio, date, ls, tar

        egrep, expand, fgrep, Mail, printf, sort,

        sed, awk, grep

        msgfmt, msgmerge, xgettext, gettext


7. Functions which specifications are described neither this
   specification nor reference published standards ( such as ISO C)

    In the LSB standard all of the functions which as reference
    specification are indicated by reference number. However
    we found many functions that have no reference number.

    We believe that LSB specification should specify those
    un-referenced functions by themselves or simply remove
    them form the specification.

    Examples of the un-reference functions are

         wcacasecmp(), wcstoimax(), wcsnlen(), wcsnrtombs(),
         mbsnrtowcs(), wcsdupe(), wcpcpy(), wcpncpy(), wcsncasecmp(),
         wcstoumax(), wcstouq



-----------------------------------------------------------

Best regards,
Akio Kido (Globalization CoC, Yamato, IBM  & Co-chair person of Li18nux)
1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken 242, Japan (LAB-SA4)
E-mail: kido@jp.ibm.com  Tel: +81-46-215-5436 FAX: +81-46-272-3352





Reply to: