To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=47135 Issue #:|47135 Summary:|[PATCH] Provide sensible _POSIX_NAME_MAX value for |Win32 Component:|tools Version:|current Platform:|PC URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|dmake Assigned to:|hjs Reported by:|shay
------- Additional comments from [EMAIL PROTECTED] Mon Apr 11 01:56:56 -0700 2005 ------- The current dmake in cws_src680_dmake43p01 doesn't quite build perl out-of-the-box on Win32. The build falls over on the file ext/B/Disassembler.pm because the filename length there exceeds dmake's value of _POSIX_NAME_MAX (12). The patch below uses the value _MAX_FNAME instead, which is defined as 256 in <stdlib.h> in MSVC++: diff -ruN dmake.orig/win95/microsft/sysintf.h dmake/win95/microsft/sysintf.h --- dmake.orig/win95/microsft/sysintf.h 2000-09-22 16:33:38.000000000 +0100 +++ dmake/win95/microsft/sysintf.h 2005-04-11 09:46:05.050169100 +0100 @@ -50,7 +50,7 @@ #ifdef _POSIX_NAME_MAX #undef _POSIX_NAME_MAX #endif -#define _POSIX_NAME_MAX 12 +#define _POSIX_NAME_MAX _MAX_FNAME #ifdef _POSIX_PATH_MAX #undef _POSIX_PATH_MAX End of Patch. The patch only changes the value in the one file involved when building via "make win95-vpp40". The following other files also define _POSIX_NAME_MAX to 12, and it may be appropriate to change them in some way too, but I am unable to verify that _MAX_FNAME is available in all the build targets concerned: dmake/msdos/sysintf.h dmake/os2/sysintf.h dmake/win95/borland/sysintf.h dmake/winnt/borland/sysintf.h dmake/winnt/microsft/sysintf.h dmake/winnt/mingw/sysintf.h dmake/winnt/msvc6/sysintf.h --------------------------------------------------------------------- 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]