To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43252
------- Additional comments from [EMAIL PROTECTED] Mon Mar 7 02:09:14 -0800
2005 -------
I disagree that "the other changes are not motivated here". The other changes
may or may not be the best way to achieve what is required, but what they
achieve definitely *is* required.
These other changes ensure that argv[0] contains the full path of the dmake.exe
executable, without which the $(MAKECMD:d) construct is useless because it won't
necessarily contain a directory component.
To demonstrate the problem, try building the following program with VC++ (I'm
using version 6.0):
#include <stdio.h>
void main(int argc, char **argv) {
printf("argv[0]=%s\n", argv[0]);
}
If I create a program called test.exe from this and then invoke it simply as
"test" then the output is "argv[0]=test", i.e. argv[0] doesn't contain a
directory component. In general, argv[0] seems to contain exactly the string
that was used to invoke the program, rather than the fully qualified path of the
program:
C:\Temp>test
argv[0]=test
C:\Temp>test.exe
argv[0]=test.exe
C:\Temp>C:\Temp\test
argv[0]=C:\Temp\test
C:\Temp>C:\Temp\test.exe
argv[0]=C:\Temp\test.exe
Unless this issue is addressed somehow, then the $(MAKECMD:d) construct is
useless unless the user happens to invoke dmake via its fully qualified path,
which is not how I work, at least -- I invariably add the path that dmake.exe is
in to my %PATH% environment variable and simply invoke dmake as "dmake".
---------------------------------------------------------------------
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]