Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-Id: 
  <006AB393E1CAF052*/c=fr/admd=atlas/prmd=edfgdf/o=notes/s=Bretteville/g=Olivier/@MHS>
Date: 07 Jun 2000 11:58:07 +0200
From: Olivier BRETTEVILLE <Olivier.Bretteville@edf.fr>
To: cygwin <cygwin@sourceware.cygnus.com>
Subject: make/cygwin 1.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA19824

I've had a problem with make/cygwin-1.1.1 regarding Makefiles containing lines ending with CR/LF (make doesn't function at all).
I've made the following patch in read.c and all works fine now :

*** make2/src/make/read.c	Fri Aug 13 22:10:18 1999
--- make/src/make/read.c	Wed Jun  7 09:07:01 2000
***************
*** 2123,2128 ****
--- 2123,2136 ----
  	  p[0] = '\n';
  	  len = 1;
  	}
+ #if defined (WINDOWS32) || defined (__MSDOS__) || defined (__CYGWIN__)
+       // OB - 07/06/2000 - Suppression des éventuels \r
+       else
+ 	  if (p[len-2] == '\r') {
+ 	    p[len-2] = p[len-1];
+ 	    p[--len] = 0;
+ 	  }
+ #endif
  
        p += len;
        if (p[-1] != '\n')


Regards

O. Bretteville

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

