texinfo-commits
[Top][All Lists]
Advanced

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

texinfo ChangeLog system.h info/info-utils.c


From: karl
Subject: texinfo ChangeLog system.h info/info-utils.c
Date: Tue, 19 Feb 2013 00:34:35 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     karl <karl>     13/02/19 00:34:35

Modified files:
        .              : ChangeLog system.h 
        info           : info-utils.c 

Log message:
        TEXINFO_PRINTFLIKE and HP-UX portability

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1553&r2=1.1554
http://cvs.savannah.gnu.org/viewcvs/texinfo/system.h?cvsroot=texinfo&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/texinfo/info/info-utils.c?cvsroot=texinfo&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1553
retrieving revision 1.1554
diff -u -b -r1.1553 -r1.1554
--- ChangeLog   17 Feb 2013 17:49:08 -0000      1.1553
+++ ChangeLog   19 Feb 2013 00:34:34 -0000      1.1554
@@ -1,3 +1,9 @@
+2013-02-18  Karl Berry  <address@hidden>  (tiny change)
+
+       * info/info-utils (va_copy) [__hpux]: define for HP-UX,
+       From Richard Lloyd, 18 Feb 2013 11:52:10.
+       * system.h (TEXINFO_PRINTFLIKE) [! __GNUC__]: define to nothing.
+
 2013-02-17  Karl Berry  <address@hidden>
 
        * doc/refcard/txirefcard.tex: reduce to four pages again

Index: system.h
===================================================================
RCS file: /sources/texinfo/texinfo/system.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- system.h    26 Nov 2012 01:32:03 -0000      1.16
+++ system.h    19 Feb 2013 00:34:35 -0000      1.17
@@ -1,5 +1,5 @@
 /* system.h: system-dependent declarations; include this first.
-   $Id: system.h,v 1.16 2012/11/26 01:32:03 karl Exp $
+   $Id: system.h,v 1.17 2013/02/19 00:34:35 karl Exp $
 
    Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
@@ -230,7 +230,11 @@
 #define MAX(a,b) ((a) > (b) ? (a) : (b))
 
 #ifndef TEXINFO_PRINTFLIKE
+# ifdef __GNUC__
 # define TEXINFO_PRINTFLIKE(fmt,narg) __attribute__ ((__format__ (__printf__, 
fmt, narg)))
+# else
+#  define TEXINFO_PRINTFLIKE(fmt,narg)
+# endif
 #endif
                             
 #endif /* TEXINFO_SYSTEM_H */

Index: info/info-utils.c
===================================================================
RCS file: /sources/texinfo/texinfo/info/info-utils.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- info/info-utils.c   17 Nov 2012 17:16:18 -0000      1.20
+++ info/info-utils.c   19 Feb 2013 00:34:35 -0000      1.21
@@ -1,8 +1,8 @@
 /* info-utils.c -- miscellanous.
-   $Id: info-utils.c,v 1.20 2012/11/17 17:16:18 gray Exp $
+   $Id: info-utils.c,v 1.21 2013/02/19 00:34:35 karl Exp $
 
-   Copyright (C) 1993, 1998, 2003, 2004, 2007, 2008, 2009, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright (C) 1993, 1998, 2003, 2004, 2007, 2008, 2009, 2011, 2012,
+   2013 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-   Originally written by Brian Fox (address@hidden). */
+   Originally written by Brian Fox. */
 
 #include "info.h"
 #include "info-utils.h"
@@ -25,6 +25,10 @@
 #  include "man.h"
 #endif /* HANDLE_MAN_PAGES */
 
+#ifdef __hpux
+#define va_copy(ap1,ap2) memcpy((&ap1),(&ap2),sizeof(va_list))
+#endif
+
 /* When non-zero, various display and input functions handle ISO Latin
    character sets correctly. */
 int ISO_Latin_p = 1;



reply via email to

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