Re: new module 'fstrcmp', generic diff algorithm

2007-08-19 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > Let me add some trivial modifications (mostly from gettext's copy of > diffseq.h): Thanks. Those all work for diff (I just checked).

Re: new module 'fstrcmp', generic diff algorithm

2007-08-18 Thread Bruno Haible
Paul Eggert wrote: > I can do > the other part too, if you like, but I figured you'd rather do that. Yes. Just committed this: 2007-08-18 Bruno Haible <[EMAIL PROTECTED]> * modules/fstrcmp: New file, from GNU gettext with modifications. * lib/fstrcmp.h: New file, from GNU gette

Re: new module 'fstrcmp', generic diff algorithm

2007-08-18 Thread Bruno Haible
Paul Eggert wrote: > I installed the following patch into gnulib to accomplish the first part. Thanks. Good to see that we can finally achieve code sharing here, through the use of parametrizable include files. > One piece (a diffseq module) just for diffseq.h, and the other piece > (fstrcmp, say

Re: new module 'fstrcmp', generic diff algorithm

2007-08-17 Thread Paul Eggert
Here are the diffutils changes I just installed, in order to use the new diffseq module in gnulib. 2007-08-17 Paul Eggert <[EMAIL PROTECTED]> Break out diffseq.h into a separate file, so that gettext can use this code. Idea and code from Bruno Haible. * bootstrap.conf (

Re: new module 'fstrcmp', generic diff algorithm

2007-08-17 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > 2007-07-01 Bruno Haible <[EMAIL PROTECTED]> > > * modules/fstrcmp: New file, from GNU gettext. > * lib/diffseq.h: New file, from GNU gettext, extracted from > GNU gettext's fstrcmp.c and GNU diff's analyze.c. > * lib/fstrcmp.h: N

new module 'fstrcmp', generic diff algorithm

2007-07-01 Thread Bruno Haible
Hi, More than 4 years ago, I already proposed the addition of an 'fstrcmp' (fuzzy string compare) module. It computes a measure of similarity between two strings. It uses the same algorithm as GNU diff for finding common sets of lines in two files. The patch was rejected in [1] mainly because the