Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-258

run_locale_utils.sh doesn't consider path to locale and localedef

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.2, 4.1.3
    • 4.2.0
    • Build and Installation
    • None
    • Patch Available
    • Runtime Error

    Description

      At this time, the run_locale_utils.sh script invoks the locale and localedef utilities using the PATH environment variable to determine the location of the utilities. This creates a problem if the bin subdirectory of the buildspace isn't in the PATH variable (likely), or if a system copy of locale or localedef is present in the PATH variable prior to the buildspace bin subdirectory.

      One possible solution is to alter the PATH variable when calling the run_locale_utils.sh script, either manually or in the stub locale and sanity_check scripts. The trade off of this method is that other programs may be invoked incorrectly, if the altered PATH masks another utility used in the script.

      A second possibility is to alter the run_locale_utils.sh script to use relative or absolute paths to the locale and localedef utilities.

      Attachments

        1. run_utils1.diff
          3 kB
          Andrew Black

        Activity

          People

            sebor Martin Sebor
            ablack-rw Andrew Black
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: