delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/12/16:41:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Specification or bug of "patch" in Cygwin B20.1
From: ABE Osamu <osamu AT asa DOT hokkyodai DOT ac DOT jp>
Reply-To: ABE Osamu <osamu AT asa DOT hokkyodai DOT ac DOT jp>
Date: Tue, 13 Jun 2000 05:38:32 +0900
Message-Id: <20000613053832osamu@mxw.mesh.ne.jp>
Mime-Version: 1.0
X-Mailer: WeMail32[1.95] ID:1A1646

Dear sirs/madams:

I enjoyed Cygwin B20.1. 
   But, I found an error(?) in "patch" in Cygwin B20.1.
"patch" cannot work for DOS encoded dif file.
After converting dif file into UNIX coded one, "patch" works well.
See logs bellow.


Best regards,
                                  ABE, Osamu   Ph.D
                                  Assoc. Prof.
                                  ------------------------------------
                                  osamu AT asa DOT hokkyodai DOT ac DOT jp
                                  Physics Laboratory, Asahikawa Campus
                                  Hokkaido University of Education

Logs.
======================================================================
f:\work> patch -p1 < jlatex2html

patching file `dot.latex2html-init'
Hunk #1 FAILED at 72.
Hunk #2 FAILED at 123.
2 out of 2 hunks FAILED -- saving rejects to dot.latex2html-init.rej
patching file `latex2html'
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 71.
Hunk #3 FAILED at 175.
Hunk #4 FAILED at 209.
Hunk #5 FAILED at 601.
Hunk #6 FAILED at 3820.
Hunk #7 FAILED at 6797.
Hunk #8 FAILED at 7008.
Hunk #9 FAILED at 7037.
Hunk #10 FAILED at 7344.
Hunk #11 FAILED at 8742.
Hunk #12 FAILED at 14881.
Hunk #13 FAILED at 14944.
Hunk #14 FAILED at 15213.
14 out of 14 hunks FAILED -- saving rejects to latex2html.rej
patching file `latex2html.config'
Hunk #1 FAILED at 23.
Hunk #2 FAILED at 55.
Hunk #3 FAILED at 117.
Hunk #4 FAILED at 187.
Hunk #5 FAILED at 523.
Hunk #6 FAILED at 608.
Hunk #7 FAILED at 727.
Hunk #8 FAILED at 742.
8 out of 8 hunks FAILED -- saving rejects to latex2html.config.rej

======================================================================
f:\work> tounix jlatex2html.dif
Converting "jlatex2html.dif" into UNIX text

f:\work> patch -p1 < jlatex2html
patching file `dot.latex2html-init'
patching file `latex2html'
patching file `latex2html.config'

======================================================================
In the above log, "tounix" convert a DOS file into UNIX file.
You can find "tounix" in "txtutil.tar.gz" at 
http://www.fsci.fuk.kindai.ac.jp/~kakuto/win32-ptex/web2c73.html

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019