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





------- Additional comments from [EMAIL PROTECTED] Thu May  5 02:15:45 -0700 
2005 -------
There were three problems outstanding:

- the one dated "Thu Apr 21 03:32:30 -0700 2005" (problem with ".a.b" and "::"),
- the one dated "Thu Apr 21 03:44:00 -0700 2005" (problem with ".PRECIOUS" and
"::"),
- the one dated "Tue Apr 26 01:18:06 -0700 2005" (problem with ".PHONY" and 
"::").

With your latest patch applied, it seems that the first problem as described in
the comments cited above is fixed, but I have found yet another related problem
(see below) by extending the makefile further :(

The second problem (.PRECIOUS) seems to be working OK for me now.

The third problem (.PHONY) doesn't seem to have been fixed.  The following
makefile (the same one as in the original comments cited above) still complains
"Don't know how to make `foo'" when invoked as "dmake":

.USESHELL :

.PHONY : all foo

all : foo

foo :: bar

bar :
        echo bar>bar

As before, changing "foo :: bar" to "foo : bar" makes it happy.

The new problem that I've found in the course of testing your patch is the
following makefile:

.USESHELL :

all :: foo.dll

foo.dll : foo.obj
        copy foo.obj foo.dll

all :: foo.xs

.c.obj :
        copy $*.c $*.obj

.xs.c :
        copy $*.xs $*.c

foo.xs ::
        echo foo>foo.xs

This almost works OK, but tries to delete foo.xs at the end of the process and
fails because it has already deleted it earlier.  Here's the output that I get:

echo foo>foo.xs
copy foo.xs foo.c
        1 file(s) copied.
del  foo.xs
copy foo.c foo.obj
        1 file(s) copied.
del  foo.c
copy foo.obj foo.dll
        1 file(s) copied.
del  foo.xs
Could Not Find C:\Temp\dmake-43310\foo.xs

If I remove the "all :: foo.xs" line then the extraneous deletion is not
attempted and all is well.

An even stranger thing happens if I changed the "foo.xs ::" line to just "foo.xs
:" instead.  In this case, the extra deletion is again attempted, but this time
succeeds because foo.xs actually gets remade first!  Here's the output:

echo foo>foo.xs
copy foo.xs foo.c
        1 file(s) copied.
del  foo.xs
copy foo.c foo.obj
        1 file(s) copied.
del  foo.c
copy foo.obj foo.dll
        1 file(s) copied.
echo foo>foo.xs
del  foo.xs

So it's a definite improvement, but we're not quite there yet.

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