To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=64399 Issue #:|64399 Summary:|Mac OS X: remove macxp_tempnam Component:|porting Version:|current Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P4 Subcomponent:|MacOSX Assigned to:|pjanik Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Fri Apr 14 09:18:52 -0700 2006 ------- Short fairy-tale In the past, there was buggy tempnam function call on Mac OS X. Thus macxp_tempnam was invented to implement correct behaviour. It is not needed now because both Panther and Tiger got it right and tempnam returns "random" results as it should. Simple test: macmini:~/q oo$ cat tempnamtest.c int main () { int i; for (i=0; i<10; i++) printf("tempnam (%d) = %s\n", i, tempnam("/tmp", "foo")); } macmini:~/q oo$ ./a.out tempnam (0) = /tmp/fooFoaDRI tempnam (1) = /tmp/fooTSO6AP tempnam (2) = /tmp/foo5voroG tempnam (3) = /tmp/foond6vwe tempnam (4) = /tmp/fooD3gjoS tempnam (5) = /tmp/foocl1sXe tempnam (6) = /tmp/foolHMhzs tempnam (7) = /tmp/foo269FwW tempnam (8) = /tmp/fooZc73lU tempnam (9) = /tmp/foouXeRHw macmini:~/q oo$ There is the only place where this function is called - module psprint. I'll remove it completely. --------------------------------------------------------------------- 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]