Re: Implementing diff, was Re: git 0.99.7b doesn't build on Cygwin

From: Linus Torvalds <>
Date: 2005-09-26 03:00:58
On Sun, 25 Sep 2005, Davide Libenzi wrote:
> What you'd have to do, if you chose to use diffutils stuff, is to 
> transform the main() of diff in diff_main(), use setjmp/longjmp to capture 
> its exit()s, and make it use a proper allocator (if you want to avoid 
> leaks upon aborts).

I'd love to use libxdiff instead since you say it can do it, but quite
frankly, the man-page didn't much help me. Do you have an example of how
to generate a uni-diff with it? Something that mortal men can read and say 

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Mon Sep 26 03:01:41 2005

This archive was generated by hypermail 2.1.8 : 2005-09-26 03:01:44 EST