This patch fixes the breakage in peer popt. It's also my first Abiword patch... :) The patch is both inlined and attached.
--Chad (aka xtals_r_us) Index: popthelp.c =================================================================== RCS file: /cvsroot/popt/popthelp.c,v retrieving revision 1.2 diff -u -r1.2 popthelp.c --- popthelp.c 11 Nov 2002 02:00:53 -0000 1.2 +++ popthelp.c 15 Nov 2002 21:00:47 -0000 @@ -31,7 +31,6 @@ } ; -#ifdef _WIN32 /* TODO: fix me so as not to use hardcoded limits * All fprintfs are duplicated and appended via sprintfs * to this static buffer, it is presently assumed that @@ -40,7 +39,6 @@ */ char msgHelp[8192] = ""; char *mhp = msgHelp; -#endif /*@observer@*/ /*@null@*/ static const char *const getTableTranslationDomain(const struct poptOption *table)
Index: popthelp.c =================================================================== RCS file: /cvsroot/popt/popthelp.c,v retrieving revision 1.2 diff -u -r1.2 popthelp.c --- popthelp.c 11 Nov 2002 02:00:53 -0000 1.2 +++ popthelp.c 15 Nov 2002 21:00:47 -0000 @@ -31,7 +31,6 @@ } ; -#ifdef _WIN32 /* TODO: fix me so as not to use hardcoded limits * All fprintfs are duplicated and appended via sprintfs * to this static buffer, it is presently assumed that @@ -40,7 +39,6 @@ */ char msgHelp[8192] = ""; char *mhp = msgHelp; -#endif /*@observer@*/ /*@null@*/ static const char *const getTableTranslationDomain(const struct poptOption *table)