Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Bug 5064 created "Andreas Tscharner" <starfire at dplanet.ch> wrote in message news:fas0av$sdb$1 at paris.nodomain.org... > > In particular we are looking for your assistance with: > > * migrating the codebase to linux (checkout the trunk from > > cvs.cvsnt.org), use the postgres driver. > > The attached patch makes the difflib compile again: The function splice > is redefined in diff_internal.h. Its first occurence is in > /usr/include/bits/fcntl.h > WARNING: This patch just makes difflib compile again by changing the > small 's' in splice to a capital 'S', and should therefore be rewritten > to match the coding style guides again. > > Best regards > Andreas > -- > Andreas Tscharner starfire at dplanet.ch > ----------------------------------------------------------------------- > Except for 75% of the women, everyone in the whole world wants to have > sex. -- Ellyn Mustard > -------------------------------------------------------------------------------- > Index: diff_internal.h > =================================================================== > RCS file: /usr/local/cvs/cvsnt/difflib/diff_internal.h,v > retrieving revision 1.1 > diff -u -r1.1 diff_internal.h > --- diff_internal.h.~1.1.~ 2007-05-18 17:59:36.000000000 +0200 > +++ diff_internal.h 2007-08-26 11:47:13.888362079 +0200 > @@ -118,7 +118,7 @@ > extern struct diff *diff_ptr,*diffend_ptr; > > > -char *splice(char *, char *); > +char *Splice(char *, char *); > int diffreg(char *, char *, int); > int easprintf(char **, const char *, ...); > void diffdir(char *, char *); > Index: diffreg.c > =================================================================== > RCS file: /usr/local/cvs/cvsnt/difflib/diffreg.c,v > retrieving revision 1.4 > diff -u -r1.4 diffreg.c > --- diffreg.c 15 Aug 2007 16:01:24 -0000 1.4 > +++ diffreg.c 26 Aug 2007 09:47:26 -0000 > @@ -346,7 +346,7 @@ > } > > char * > -splice(char *dir, char *file) > +Splice(char *dir, char *file) > { > char *tail, *buf; > >