bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: va_copy, new module 'stdarg'


From: Bruno Haible
Subject: Re: va_copy, new module 'stdarg'
Date: Mon, 24 Jul 2006 18:26:42 +0200
User-agent: KMail/1.9.1

Hi Jim,

The stdarg.m4 macro is now tested (it's used in gettext-0.15). Any objections
to this patch?


diff -r -c3 --unidirectional-new-file --exclude=CVS 
gnulib-20060722/modules/version-etc gnulib-20060722-modified/modules/version-etc
*** gnulib-20060722/modules/version-etc 2005-07-06 17:58:47.000000000 +0200
--- gnulib-20060722-modified/modules/version-etc        2006-05-01 
15:25:31.000000000 +0200
***************
*** 7,12 ****
--- 7,13 ----
  
  Depends-on:
  gettext-h
+ stdarg
  
  configure.ac:
  
diff -r -c3 --unidirectional-new-file --exclude=CVS 
gnulib-20060722/lib/version-etc.c gnulib-20060722-modified/lib/version-etc.c
*** gnulib-20060722/lib/version-etc.c   2006-01-10 00:13:57.000000000 +0100
--- gnulib-20060722-modified/lib/version-etc.c  2006-04-30 20:22:13.000000000 
+0200
***************
*** 50,60 ****
    {
      va_list tmp_authors;
  
! #ifdef __va_copy
!     __va_copy (tmp_authors, authors);
! #else
!     tmp_authors = authors;
! #endif
  
      n_authors = 0;
      while (va_arg (tmp_authors, const char *) != NULL)
--- 50,56 ----
    {
      va_list tmp_authors;
  
!     va_copy (tmp_authors, authors);
  
      n_authors = 0;
      while (va_arg (tmp_authors, const char *) != NULL)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]