Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      after 'strstr' was replaced by "findDirInPath(char *path, char *dir, char *separator)"
      The headache with LD_LIBRARY_PATH for gdb appeares again

      gdb fails to run even if "rc = putenv (newPath);" sets the original LD_LIBRARY_PATH (i.e. newPath == oldPath)

      The only way to skip "rc = putenv (newPath);" execution is to provide found == count in:
      /*

      • if we found them all, we're done
        */
        if (found == count) { return 0; }

      So findDirInPath(char *path, char *dir, char *separator) should be improved.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gatimosh George Timoshenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: