harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2831) trailing '/' in LD_LIBRARY_PATH items should not be essential
Date Thu, 21 Dec 2006 10:38:22 GMT
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

        

Mime
View raw message