diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 13:34:28 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 13:34:28 +0000 |
commit | b7dcec48ea9e89a58135014135b78a18f3c1bdb8 (patch) | |
tree | ef7fda1fe70573b0fdba3168d4f757c37efba29a /dmake/state.c | |
parent | 41f7a3dc98d0bb9a1c6a22c082087f0831db7dd1 (diff) |
INTEGRATION: CWS os2port01 (1.2.18); FILE MERGED
2006/12/28 14:54:33 ydario 1.2.18.1: OS/2 initial import.
Diffstat (limited to 'dmake/state.c')
-rw-r--r-- | dmake/state.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |