diffseq: Introduce EQUAL_IDX for comparing indexes instead of elements

2010-04-18 Thread Andreas Gruenbacher
Hello, here is a change to diffseq whcih I need in GNU patch: patch has a historic feature called "plan B" for when only little memory is available; it then doesn't load the entire patch and file to be patched into memory. To support this, the file and patch are accessed through functions rath

Re: diffseq: Introduce EQUAL_IDX for comparing indexes instead of elements

2010-04-18 Thread Andreas Gruenbacher
On Sunday 18 April 2010 16:13:01 Andreas Gruenbacher wrote: > Hello, > > here is a change to diffseq whcih I need in GNU patch: patch has a historic > feature called "plan B" for when only little memory is available; it then > doesn't load the entire patch and file to be patched into memory. To >

Re: [PATCH] test-stdbool: skip test that fails with Solaris CC

2010-04-18 Thread Bruno Haible
Eric Blake wrote: > + test-stdbool: skip test that fails with Solaris CC Seems reasonable to me too. I've never seen any program casting floating-point values to 'bool'. So that's not a feature people rely on. Just a doc tweak: 2010-04-18 Bruno Haible * doc/posix-headers/stdbool

Re: diffseq: Introduce EQUAL_IDX for comparing indexes instead of elements

2010-04-18 Thread Bruno Haible
Hi Andreas, > > patch has a historic > > feature called "plan B" for when only little memory is available; it then > > doesn't load the entire patch and file to be patched into memory. To > > support this, the file and patch are accessed through functions rather > > than directly as arrays. ..

Re: diffseq: Introduce EQUAL_IDX for comparing indexes instead of elements

2010-04-18 Thread Andreas Gruenbacher
On Monday 19 April 2010 00:04:54 Bruno Haible wrote: > I'm applying this instead. It should be trivial for you to update > patch/src/merge.c accordingly. Sure, your modified version does the same job. Thanks, Andreas