To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47137
                  Issue #:|47137
                  Summary:|[PATCH] Increase MAXLINELENGTH on 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 02:23:43 -0700 
2005 -------
The current dmake in cws_src680_dmake43p01 doesn't quite build the perl module
ExtUtils-MakeMaker-6.27 out-of-the-box on Win32.  Running "dmake" produces the
error:

dmake:  makefile:  line 317:  Error -- Expecting macro or rule defn, found 
neither

Line 317 is the blank line after the definition of the PM_TO_BLIB macro, which
is rather long.  (See the Makefile in the following attachment.)  I believe the
problem is that this macro definition has exceeded dmake's MAXLINELENGTH value
(2046) because the following patch, which increases MAXLINELENGTH to 8190, makes
the error go away for me:

diff -ruN dmake.orig/win95/microsft/ruletab.c dmake/win95/microsft/ruletab.c
--- dmake.orig/win95/microsft/ruletab.c 2005-04-09 22:22:36.000000000 +0100
+++ dmake/win95/microsft/ruletab.c      2005-04-11 10:17:36.645496800 +0100
@@ -32,7 +32,7 @@
 #include <stdio.h>
 
 static char *_rules[] = {
-       "MAXLINELENGTH := 2046",
+       "MAXLINELENGTH := 8190",
        "MAXPROCESSLIMIT := 4",
        "MAXPROCESS := 1",
        ".IMPORT .IGNORE: DMAKEROOT",
End of Patch.

The following files also contain definitions of MAXLINELENGTH, with various
values in use (indicated in parentheses):

dmake/imacs.c (1024)
dmake/mac/ruletab.c (4094)
dmake/msdos/ruletab.c (2046)
dmake/os2/ruletab.c (2046)
dmake/qssl/ruletab.c (8190)
dmake/tos/ruletab.c (8190)
dmake/unix/ruletab.c (8190)
dmake/win95/borland/ruletab.c (2046)
dmake/win95/microsft/ruletab.c (2046)
dmake/winnt/borland/ruletab.c (2046)
dmake/winnt/microsft/ruletab.c (2046)

It may make sense to make all these values 8190, but I'll leave that up to you
to decide.

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