XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None
    • 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

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

            Dates

              Created:
              Updated: