Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000797 [1003.1(2013)/Issue7+TC1] Base Definitions and Headers Objection Enhancement Request 2013-11-16 20:41 2022-07-28 16:28
Reporter steffen View Status public  
Assigned To
Priority normal Resolution Rejected  
Status Closed  
Name steffen
Organization
User Reference
Section XBD 13., XSH 3., XRAT E.1
Page Number 229-230, 458, 460, 463, 1144, 1146, 1151, 1153, 1155, 1158, 1167, 1171, 1173, 1175, 1177, 1178, 1180, 1182, 1184, 1186, 1188-1190, 1192, 1194, 1196, 1198, 1200, 1202, 1204, 1206, 1886, 3742-3743
Line Number 7583, 7604, 15610, 15712, 15793, 15817, 38534, 38580, 38719, 38763, 38809, 38885, 39191, 39304, 39350, 39396, 39408, 39480, 39527, 39578, 39629, 39673, 39726-39728, 39750, 39760, 39813, 39864, 39915, 39966, 40017, 40068, 40084, 40119, (too long... ;)
Interp Status ---
Final Accepted Text
Summary 0000797: Addition of a isw?symbol(_l)?() function family
Description Related to the addition of a new «symbol»
character class is a family of corresponding
functions.
Desired Action XBD 13. «Headers» («ctype.h»)

  On page 229, line 7583
  add (insert before)

    [CX]int issymbol(int);[/CX]
    [CX]int issymbol_l(int, locale_t);[/CX]

  On page 230, line 7604
  change

    isgraph(), islower(), isprint(), ispunct(),
    isspace(), isupper(), isxdigit(), mblen(),
    mbstowcs(),

  to

    isgraph(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),
    isxdigit(), mblen(), mbstowcs(),

XBD 13. «Headers» («wchar.h»)

  On page 458, line 15610
  add (insert before)

    [CX]int iswsymbol(wint_t);[/CX]

  On page 460, line 15712
  change

    iswgraph(), iswlower(), iswprint(),
    iswpunct(), iswspace(), iswupper(),
    iswxdigit(), mbrlen(),

  to

    iswgraph(), iswlower(), iswprint(),
    iswpunct(), iswspace(), [CX]iswsymbol()[/CX],
    iswupper(), iswxdigit(), mbrlen(),

XBD 13. «Headers» («wctype.h»)

  On page 463, line 15793
  add (insert before)

    [CX]int iswsymbol(wint_t);[/CX]
    [CX]int iswsymbol_l(wint_t, locale_t);[/CX]

  On page 463, line 15817
  change

    iswdigit(), iswgraph(), iswlower(),
    iswprint(), iswpunct(), iswspace(),
    iswupper(), iswxdigit(),

  to

    iswdigit(), iswgraph(), iswlower(),
    iswprint(), iswpunct(), iswspace(),
    [CX]iswsymbol(),[/CX] iswupper(), iswxdigit(),

XSH 3., «isalnum()»

  On page 1144, line 38534
  change

    isalpha(), isblank(), iscntrl(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalpha(), isblank(), iscntrl(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «isalpha()»

  On page 1146, line 38580
  change

    isalnum(), isblank(), iscntrl(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isblank(), iscntrl(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «isblank()»

  On page 1151, line 38719
  change

    isalnum(), isalpha(), iscntrl(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), iscntrl(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «iscntrl()»

  On page 1153, line 38763
  change

    isalnum(), isalpha(), isblank(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), isblank(), isdigit(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «isdigit()»

  On page 1155, line 38809
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isgraph(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «isgraph()»

  On page 1158, line 38885
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), islower(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), islower(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «islower()»

  On page 1167, line 39191
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), isprint(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), isprint(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «isprint()»

  On page 1171, line 39304
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), ispunct(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), ispunct(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «ispunct()»

  On page 1173, line 39350
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), isprint(),
    isspace(), isupper(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), isprint(),
    isspace(), [CX]issymbol(),[/CX] isupper(),

XSH 3., «isspace()»

  On page 1175, line 39396
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), ispunct(),
    isupper(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), ispunct(),
    [CX]issymbol(),[/CX] isupper(),

XSH 3., «issymbol()» (new)

  Note: entirely CX shaded.

  On page 1177, line 39408
  add (insert before)

    NAME
      issymbol, issymbol_l — test for a symbol character

    SYNOPSIS
      #include <ctype.h>

      int issymbol(int c);
      int issymbol_l(int c, locale_t locale);

    DESCRIPTION
      The issymbol() and issymbol_l() functions
      shall test whether c is a character of class
      symbol in the current locale, or in the
      locale represented by locale, respectively;
      see XBD Chapter 7 (on page 135).

      The c argument is an int, the value of which
      the application shall ensure is a character
      representable as an unsigned char or equal
      to the value of the macro EOF. If the
      argument has any other value, the behavior
      is undefined.

      The behavior is undefined if the locale
      argument to issymbol_l() is the special
      locale object LC_GLOBAL_LOCALE or is not
      a valid locale object handle.

    RETURN VALUE
      The issymbol() and issymbol_l() functions
      shall return non-zero if c is a symbol
      character; otherwise, they shall return 0.

    ERRORS
      No errors are defined.

    EXAMPLES
      None.

    APPLICATION USAGE
      To ensure applications portability,
      especially across natural languages, only
      these functions and the functions in the
      reference pages listed in the SEE ALSO
      section should be used for character
      classification.

    RATIONALE
      None.

    FUTURE DIRECTIONS
      None.

    SEE ALSO
      isalnum(), isalpha(), isblank(), iscntrl(),
      isdigit(), isgraph(), islower(), isprint(),
      ispunct(), isspace(), isupper(), isxdigit(),
      setlocale(), uselocale()
      XBD Chapter 7 (on page 135), <ctype.h>,
      <locale.h>

XSH 3., «isupper()»

  On page 1178, line 39480
  change

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), isprint(),
    ispunct(), isspace(),

  to

    isalnum(), isalpha(), isblank(), iscntrl(),
    isdigit(), isgraph(), islower(), isprint(),
    ispunct(), isspace(), [CX]issymbol(),[/CX]


XSH 3., «isxdigit()»

  On page 1206, line 40221
  change

    isupper()

  to

    [CX]issymbol(),[/CX], isupper()

XSH 3., «iswalnum()»

  On page 1180, line 39527
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()

XSH 3., «iswalpha()»

  On page 1182, line 39578
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()


XSH 3., «iswblank()»

  On page 1184, line 39629
  change

    iswpunct(), iswspace(), iswupper(),
    iswxdigit(), setlocale(), uselocale()

  to

    iswpunct(), iswspace(), [CX]iswsymbol(),[/CX]
    iswupper(), iswxdigit(), setlocale(),
    uselocale(),

XSH 3., «iswcntrl()»

  On page 1186, line 39673
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()

XSH 3., «iswctype()»

  On page 1188, lines 39726-39728
  change

    The twelve strings "alnum", "alpha", "blank",
    "cntrl", "digit", "graph", "lower", "print",
    "punct", "space", "upper", and "xdigit" are
    reserved for the standard character classes.
    In the table below, the functions in the left
    column are equivalent to the

  to

    The thirteen strings "alnum", "alpha", "blank",
    "cntrl", "digit", "graph", "lower", "print",
    "punct", "space", "symbol", "upper" and
    "xdigit" are reserved for the standard
    character classes.
    In the table below, the functions in the left
    column are equivalent to the

  On page 1189, line 39750
  add (insert before)

    iswssymbol(wc) iswctype(wc, wctype("symbol"))
    iswsymbol_l(wc, locale) iswctype_l(wc, wctype("symbol"), locale)

  On page 1189, line 39760
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale(), wctype()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale(),
    wctype()

XSH 3., «iswdigit()»

  On page 1190, line 39813
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()

XSH 3., «iswgraph()»

  On page 1192, line 39864
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()

XSH 3., «iswlower()»

  On page 1194, line 39915
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()


XSH 3., «iswprint()»

  On page 1196, line 39966
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()

XSH 3., «iswpunct()»

  On page 1198, line 40017
  change

    iswspace(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()

XSH 3., «iswspace()»

  On page 1200, line 40068
  change

    iswpunct(), iswupper(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswpunct(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), setlocale(), uselocale()


XSH 3., «iswsymbol()» (new)

  Note: entirely CX shaded.

  On page 1202, line 40084
  add (insert before)

    NAME
      iswsymbol, iswssymbol_l — test for a symbol
      wide-character code

    SYNOPSIS
      #include <wctype.h>

      int iswsymbol(wint_t wc);
      int iswsymbol_l(wint_t wc, locale_t locale);

    DESCRIPTION
      The iswsymbol() and iswsymbol_l() functions
      shall test whether wc is a wide-character
      code of class symbol in the current locale,
      or in the locale represented by locale,
      respectively; see XBD Chapter 7 (on page
      135).

      The wc argument is an wint_t, the value of which
      the application shall ensure is a wide-character
      code corresponding to a valid character in
      the current locale, or equal to the value of
      the macro WEOF. If the argument has any
      other value, the behavior is undefined.

      The behavior is undefined if the locale
      argument to iswsymbol_l() is the special
      locale object LC_GLOBAL_LOCALE or is not
      a valid locale object handle.

    RETURN VALUE
      The iswsymbol() and iswsymbol_l() functions
      shall return non-zero if wc is a symbol
      wide-character code; otherwise, they shall
      return 0.

    ERRORS
      No errors are defined.
    EXAMPLES
      None.

    APPLICATION USAGE
      To ensure applications portability,
      especially across natural languages, only
      these functions and the functions in the
      reference pages listed in the SEE ALSO
      section should be used for character
      classification.

    RATIONALE
      None.

    FUTURE DIRECTIONS
      None.

    SEE ALSO
      iswalnum(), iswalpha(), iswblank(),
      iswcntrl(), iswctype(), iswdigit(),
      iswgraph(), iswlower(), iswprint(),
      iswpunct(), iswspace(), iswupper(),
      iswxdigit(), setlocale(), uselocale()
      XBD Chapter 7 (on page 135), <locale.h>,
      <wctype.h>

XSH 3., «iswupper()»

  On page 1202, line 40119
  change

    iswpunct(), iswspace(), iswxdigit(),
    setlocale(), uselocale()

  to

    iswpunct(), iswspace(), [CX]iswsymbol(),[/CX]
    iswxdigit(), setlocale(), uselocale()


XSH 3., «iswxdigit()»

  On page 1204, line 40170
  change

    iswpunct(), iswspace(), iswupper(),
    setlocale(), uselocale()

  to

    iswpunct(), iswspace(), [CX]iswsymbol(),[/CX]
    iswupper(), setlocale(), uselocale()

XSH 3., «setlocale()»

  On page 1886, lines 60689-60690
  change

    islower(), isprint(), ispunct(), isspace(),
    isupper(), iswalnum(), iswalpha(), iswblank(),
    iswcntrl(), iswctype(), iswdigit(),
    iswgraph(), iswlower(), iswprint(),
    iswpunct(), iswspace(), iswupper(),

  to

    islower(), isprint(), ispunct(), isspace(),
    [CX]issymbol(),[/CX] isupper(), iswalnum(),
    iswalpha(), iswblank(), iswcntrl(),
    iswctype(), iswdigit(), iswgraph(),
    iswlower(), iswprint(), iswpunct(),
    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),

XRAT E.1

  On page 3742, line 127988
  change

    isprint(), ispunct(), isspace(), isupper(),
    isxdigit(), labs(), ldiv(), llabs(), lldiv(),
    localeconv(),
  to

    isprint(), ispunct(), isspace(),
    [CX]issymbol(),[/CX] isupper(), isxdigit(),
    labs(), ldiv(), llabs(), lldiv(),
    localeconv(),

  On page 3742, line 127999
  change

    iswlower(), iswprint(), iswpunct(),
    iswspace(), iswupper(), iswxdigit(), mblen(),
    mbrlen(),

  to

    iswlower(), iswprint(), iswpunct(),
    iswspace(), [CX]iswsymbol(),[/CX] iswupper(),
    iswxdigit(), mblen(), mbrlen(),

  On page 3743, line 128067-127069
  change

    islower_l(), isprint_l(), ispunct_l(),
    isspace_l(), isupper_l(), iswalnum_l(),
    iswalpha_l(), iswblank_l(), iswcntrl_l(),
    iswctype_l(), iswdigit_l(), iswgraph_l(),
    iswlower_l(), iswprint_l(), iswpunct_l(),
    iswspace_l(), iswupper_l(), iswxdigit_l(),
    isxdigit_l(), newlocale(), strcasecmp_l(),

  to

    islower_l(), isprint_l(), ispunct_l(),
    isspace_l(), [CX]issymbol_l(),[/CX]
    isupper_l(), iswalnum_l(), iswalpha_l(),
    iswblank_l(), iswcntrl_l(), iswctype_l(),
    iswdigit_l(), iswgraph_l(), iswlower_l(),
    iswprint_l(), iswpunct_l(), iswspace_l(),
    [CX]iswsymbol_l(),[/CX] iswupper_l(),
    iswxdigit_l(), isxdigit_l(), newlocale(),
    strcasecmp_l()
Tags UTF-8_Locale
Attached Files

- Relationships
related to 0001548New 1003.1(2016/18)/Issue7+TC2 Addition of a POSIX.utf-8 locale (likely as 7.3 "POSIX.utf-8 locale") 
related to 0000795Closedajosey 1003.1(2013)/Issue7+TC1 Addition of a new «symbol» character class 

-  Notes
(0005918)
Don Cragun (manager)
2022-07-28 16:28

This was discussed during the 2022-07-28 conference call. There is no existing practice for this change, so this bug is rejected. If anything, it is properly a component of any proposed resolution to 0001548.

- Issue History
Date Modified Username Field Change
2013-11-16 20:41 steffen New Issue
2013-11-16 20:41 steffen Name => steffen
2013-11-16 20:41 steffen Section => XBD 13., XSH 3., XRAT E.1
2013-11-16 20:41 steffen Page Number => 229-230, 458, 460, 463, 1144, 1146, 1151, 1153, 1155, 1158, 1167, 1171, 1173, 1175, 1177, 1178, 1180, 1182, 1184, 1186, 1188-1190, 1192, 1194, 1196, 1198, 1200, 1202, 1204, 1206, 1886, 3742-3743
2013-11-16 20:41 steffen Line Number => 7583, 7604, 15610, 15712, 15793, 15817, 38534, 38580, 38719, 38763, 38809, 38885, 39191, 39304, 39350, 39396, 39408, 39480, 39527, 39578, 39629, 39673, 39726-39728, 39750, 39760, 39813, 39864, 39915, 39966, 40017, 40068, 40084, 40119, (too long... ;)
2013-11-18 10:24 geoffclare Relationship added related to 0000795
2014-01-16 16:53 Don Cragun Tag Attached: UTF-8_Locale
2022-07-28 16:22 eblake Relationship added related to 0001548
2022-07-28 16:28 Don Cragun Interp Status => ---
2022-07-28 16:28 Don Cragun Note Added: 0005918
2022-07-28 16:28 Don Cragun Status New => Closed
2022-07-28 16:28 Don Cragun Resolution Open => Rejected


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker