To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64583
                  Issue #:|64583
                  Summary:|dmake's mktmp oddities
                Component:|tools
                  Version:|current
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|dmake
              Assigned to:|vq
              Reported by:|vq





------- Additional comments from [EMAIL PROTECTED] Thu Apr 20 12:50:48 -0700 
2006 -------
As mentioned in issue 64505 $mktmp generates tempfiles with 600 permissions, 
this
is so as mkstemp() is used to generate the files. If you use
 $(mktmp,mytempfile blabla)
to override the filename this file has 644 (umask) permissions.
This should be documented.

Another thing that should be documented is that the usage like in that issue:

VERSIONTMP:=$(mktmp iii)
somettarget :
        @+echo huhu > $(VERSIONTMP)

only works accidentally. dmake currently removes all tempfiles of the current
target after execution of each recipe line ( in _finished_child() ).

Luckily the tempfiles that are created by using mktmp in macro definitions
are deleted at the end before leaving dmake.

This could be a separarte issue, but heck:
In sysintf() - Start_temp() the part after (and including)

/*
 * link tempfiles generated by tempnam() to make sure that
 * they will be removed
*/ 

seems to be unneeded and creates an additional tempfile without suffix that
has to be deleted and just costs performance.

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