diff --git a/dmake/os2/ruletab.c b/dmake/os2/ruletab.c index 97204272db36..42946dd14c6d 100644 --- a/dmake/os2/ruletab.c +++ b/dmake/os2/ruletab.c @@ -1,4 +1,4 @@ -/* RCS $Id: ruletab.c,v 1.2 2006-04-20 12:08:38 hr Exp $ +/* RCS $Id: ruletab.c,v 1.3 2007-09-20 14:34:28 vg Exp $ -- -- SYNOPSIS -- Default initial configuration of dmake. @@ -33,9 +33,12 @@ * We dont need the two different cases of Makefile, so only keep the * pretty one. */ +// ".IMPORT .IGNORE: DMAKEROOT SOLARVER UPD INPATH OS UPDMINOREXT", + static char *_rules[] = { - "MAXLINELENGTH := 2046", + "MAXLINELENGTH := 8190", "MAXPROCESSLIMIT := 16", +#include "dmakeroot.h" ".IMPORT .IGNORE: DMAKEROOT" ".MAKEFILES : makefile.mk Makefile", ".SOURCE : .NULL", diff --git a/dmake/state.c b/dmake/state.c index 509377539aee..5179ead4fd14 100644 --- a/dmake/state.c +++ b/dmake/state.c @@ -1,4 +1,4 @@ -/* RCS $Id: state.c,v 1.2 2006-04-20 12:02:17 hr Exp $ +/* RCS $Id: state.c,v 1.3 2007-09-20 14:33:53 vg Exp $ -- -- SYNOPSIS -- .KEEP_STATE state file management @@ -226,5 +226,6 @@ FILE *fp; if( fgets(buf, size, fp) == NULL ) return(0); if( (p=strrchr(buf,'\n')) != NIL(char) ) *p='\0'; + if( (p=strrchr(buf,'\r')) != NIL(char) ) *p='\0'; return(1); }