Apache OpenOffice (AOO) Bugzilla – Issue 64889
[PATCH] Increase MAXLINELENGTH on Win32
Last modified: 2013-08-07 15:34:52 UTC
Hi Volker, I've just had a bug report from a perl user complaining that he can't build a certain perl module using my build of OpenOffice dmake: http://rt.cpan.org/Public/Bug/Display.html?id=18967 The solution for me is simple: I will increase the default MAXLINELENGTH from 8190 to 32766, exactly as per issue 47137: http://www.openoffice.org/issues/show_bug.cgi?id=47137 A patch to do this follows. My question to you is: Do you want to apply this patch to the OpenOffice sources? If not then I'll just patch my version and release a new build with an updated "diff" file showing the changes I have made. I would prefer to have the changes made in the OpenOffice sources so that I don't have to keep applying the patch every time I take the latest sources for making new builds in the future. Btw, where are the "latest" sources now? I just checked out cws_src680_dmake43p01 as I have done before, but I see from http://tools.openoffice.org/dmake/ that 4.4 has now been released. Is there a new version working towards 4.5 yet? Cheers, - Steve
Created attachment 36137 [details] Patch referred to above.
Hi Steve, I have nothing against increasing MAXLINELENGTH in the various ruletab.c files, but there is an easier way, we could just add MAXLINELENGTH = 65530 to dmake/startup/startup.mk. But it makes sense to increase the hardcoded limit. The new development version will be in cws_src680_dmake45 but I have not committed anything yet.
I told the person who reported the bug about just editing startup.mk as a quick fix for him already, but I think changing the hard-coded default is better because that value is displayed by the "dmake -V" output. So I'll look out for it being applied to cws_src680_dmake45 sometime, then. Thanks.
Committed to dmake45. Reassigning for verification. @ause: This change is "risk free" for OOo as we have MAXLINELENGTH = 65530 in the startup.mk.
@ause: Please verify.
Tested, and I confirm that my problem is resolved by this change.
.