To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73996
                 Issue #|73996
                 Summary|Don't generate relative paths up to the root directory
               Component|tools
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|dmake
             Assigned to|vq
             Reported by|vq





------- Additional comments from [EMAIL PROTECTED] Mon Jan 29 14:20:52 -0800 
2007 -------
Currently, when generating the target name of a prerequisite target using the
.SETDIR attribute and the current target dmake creates a relative target paths.
This is usually a good idea, but when the relative path goes up to the root
directory and down into a different tree this might not be always the best idea.
The same applies for the TMD macro.
(For the native windows version there was always the absolute path used if the
prerequisite lived on a different drive.)

I'm actually not able to think of a problem for *nix systems with this practice,
but when mixing a cygwin dmake with native W32 executables there are potential
problems.
For example the relative path from /home/user/ to /cygdrive/d/mydir/mytarget.bar
would be ../../cygdrive/d/mydir/mytarget.bar .

I don't see any harm in using the absolute path whenever the relative path would
go up to the root directory for all OSs, it even slightly shortens the path,
so that I wont make this patch cygwin specific.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to