To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74007





------- Additional comments from [EMAIL PROTECTED] Tue Jan 30 17:08:35 -0800 
2007 -------
Summarizing a little our conversation from IRC:

* To produce relocatable filenames it makes sense to normalize foo to ./foo and
  not the other way round. (This is actually easily doable if we want to do
  that.)

* We could introduce a new macro that holds the target name that was actually
  used in the target definition and not the normalized version. This would add
  some extra memory and would be moderately invasive.

* The previous solution could be applied to $@, but that would make .WINPATH
  (issue 73499) more or less unusable whenever it is most useful, i.e. for
  absolute paths.

Currently I would tend to only the first bullet if that is good enough, the
problem with it is that errors in string operations are hard to spot, for
example

--------------
mytarget=.//something

$(mytarget):
    echo $(eq,$(mytarget),$@ equal different)
--------------

would still not be equal because the legal, but unneeded second slash in
mytarget would normalized away. Or for
 mytarget=./bla/../something
the bla/.. would be normalized away.

---------------------------------------------------------------------
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