C++ Standard Library
  1. C++ Standard Library
  2. STDCXX-284

localedef fails to create a codecvt database when <code_set_name> is not specified

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2, 4.1.3
    • Fix Version/s: 4.2.0
    • Component/s: Utilities
    • Labels:
      None
    • Environment:

      all

      Description

      The localedef utility fails to create a codecvt database when the <code_set_name> declaration is omitted from the character set description file:

      $ cat charmap && cat ctype && ./localedef -c -w -f charmap -i ctype /tmp/dummy && LC_ALL=/tmp/dummy ./locale --charmap
      CHARMAP
      <U0041> \x41
      <U0141> \x41\x42
      <U0241> \x41\x43
      END CHARMAP
      LC_CTYPE
      END LC_CTYPE

      $ ls -l /tmp/ /tmp/* /tmp/:
      total 16
      drwxr-xr-x 2 sebor devel 182 Sep 5 18:43 dummy

      /tmp/dummy:
      total 16
      rw-rr- 1 sebor devel 1577 Sep 5 18:43 LC_CTYPE

        Activity

        Hide
        Martin Sebor added a comment -

        Fixed thus: http://svn.apache.org/viewvc?view=rev&rev=440549 (the ChangeLog comment incorrectly references the wrong issue, STDCXX-184).

        Show
        Martin Sebor added a comment - Fixed thus: http://svn.apache.org/viewvc?view=rev&rev=440549 (the ChangeLog comment incorrectly references the wrong issue, STDCXX-184 ).

          People

          • Assignee:
            Martin Sebor
            Reporter:
            Martin Sebor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development