cygwin and applying patches

Rosimildo da Silva rdasilva at connecttel.com
Tue Sep 19 21:14:04 UTC 2000


From: Joel Sherrill <joel.sherrill at OARcorp.com>
To: <rtems-users at OARcorp.com>
Sent: Tuesday, September 19, 2000 3:17 PM
Subject: cygwin and applying patches


> 
> What's the trick? :)
> 
> 
> Does it work at all?  I can't seem to make it work.  The patch
> is rejected with the .orig file being OK but the newly written
> file has DOS-style CR/LF's and the reject has CR/LF's.
> 
> I have clobbered the cygwin installation and am using a relatively 
> recent (downloaded 8/20) download of Net Cygwin.  
> 
> Sugestions appreciated.
> 

  tr -d '\r' < your_patch_here.patch | patch -p1

The patch utility under Cygwin 1.1.x is broken big time. It cores dump
on many patches. Use the "tr" utility with any patch.

Rosimildo.






More information about the users mailing list