cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PATCH: Fix for bug 440

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Mar 2013 22:44:34 +0100 (CET)

On Wed, 27 Mar 2013, Arunav Sanyal wrote:

> File edited : http.c
>
> command run:- diff http.c http_new.c(on ubuntu 12.10 gnu diff)

Thanks, but please read the doc I showed you one more time. The -u switch to
diff really makes a significant difference. I can't quite tell what your patch
does and I couldn't apply it automatically with patch. Can you please send
such a version to us?

The command should be:

  $ diff -u unmodified-file.c my-changed-one.c > my-fixes.diff

What curl code (version) are you modifying btw?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-27