Skip to content

Commit

Permalink
INTEGRATION: CWS os2port01 (1.2.18); FILE MERGED
Browse files Browse the repository at this point in the history
2006/12/28 14:54:33 ydario 1.2.18.1: OS/2 initial import.
  • Loading branch information
vg committed Sep 20, 2007
1 parent 6cc5152 commit ebba24b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions os2/ruletab.c
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion state.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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);
}

0 comments on commit ebba24b

Please sign in to comment.