Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-550

LLDir::getNextFileInDir fails for some complex wildcard combinations

    XMLWordPrintableJSON

Details

    • Defect
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Sprint 10
    • None
    • Found in http://hg.secondlife.com/viewer-development during 2.4 development
      The problem is believed to have existed before that time.
    • Code Review, Product Owner
    • Hide

      Those cases are tested in the unit test indra/llvfs/test/lldir_test.cpp, so, if unit tests pass, this issue is indeed tested.

      Show
      Those cases are tested in the unit test indra/llvfs/test/lldir_test.cpp, so, if unit tests pass, this issue is indeed tested.

    Description

      [This issue should be moved to an indra-common Jira project when we split the common code tree into its own repository]

      The LLDir::getNextFileInDir is used to do more-or-less shell-style searches of a directory:
      *.foo returns any file that has a .foo extension
      file?.abc returns any file that has a single character where the ? is in the pattern but otherwise matches

      Patterns that have an * on the left side, and multiple ? on the right side fail - they return files that they should not match. Some of the specific failures are documented in the test case that found them in indra/llvfs/tests/lldir_tests.cpp

      Attachments

        Activity

          People

            Unassigned Unassigned
            oz.linden Oz Linden
            jira-users
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days
                3d