You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Timoshenko (JIRA)" <ji...@apache.org> on 2006/12/21 11:38:22 UTC

[jira] Created: (HARMONY-2831) trailing '/' in LD_LIBRARY_PATH items should not be essential

trailing '/' in LD_LIBRARY_PATH items should not be essential
-------------------------------------------------------------

                 Key: HARMONY-2831
                 URL: http://issues.apache.org/jira/browse/HARMONY-2831
             Project: Harmony
          Issue Type: Sub-task
            Reporter: George Timoshenko
            Priority: Minor


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.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira