This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fix stdio_va_list hack under DJGPP
- To: Laurynas Biveinis <lauras at softhome dot net>
- Subject: Re: PATCH: fix stdio_va_list hack under DJGPP
- From: Bruce Korb <bkorb at cruzio dot com>
- Date: Thu, 07 Dec 2000 12:40:39 -0800
- CC: GCC Patches <gcc-patches at gcc dot gnu dot org>, bkorb at cruzio dot com
- Organization: Home
- References: <3A2FF91D.C03D76DB@softhome.net>
- Reply-To: bkorb at cruzio dot com
Laurynas Biveinis wrote:
>
> That hack does not recognize internal va_list definition
> for DJGPP, so I've made a patch to skip this fix for DJGPP.
Looks fine to me. Do you have write access?
> 2000-12-07 Laurynas Biveinis <lauras@softhome.net>
>
> * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
> found in a header.
> * fixinc/fixincl.x: regenerated.
>
> Index: fixincl.x
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/fixinc/fixincl.x,v
> retrieving revision 1.95
> diff -u -r1.95 fixincl.x
> --- fixincl.x 2000/12/05 18:08:09 1.95
> +++ fixincl.x 2000/12/07 19:47:34
> @@ -3679,7 +3679,7 @@
> * content bypass pattern - skip fix if pattern found
> */
> tSCC zStdio_Va_ListBypass0[] =
> - "__gnuc_va_list|_BSD_VA_LIST_";
> + "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
>
> #define STDIO_VA_LIST_TEST_CT 1
> static tTestDesc aStdio_Va_ListTests[] = {
> Index: inclhack.def
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/fixinc/inclhack.def,v
> retrieving revision 1.98
> diff -u -r1.98 inclhack.def
> --- inclhack.def 2000/12/05 18:08:09 1.98
> +++ inclhack.def 2000/12/07 19:47:44
> @@ -2011,7 +2011,7 @@
> fix = {
> hackname = stdio_va_list;
> files = stdio.h;
> - bypass = '__gnuc_va_list|_BSD_VA_LIST_';
> + bypass = '__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list';
>
> /*
> * Use __gnuc_va_list in arg types in place of va_list.