INN commit: trunk (support/getc-tap-harness tests/tap/float.c)

INN Commit rra at isc.org
Wed Apr 13 19:57:23 UTC 2016


    Date: Wednesday, April 13, 2016 @ 12:57:22
  Author: iulius
Revision: 10004

Add missing va_end to is_double

Fix missing va_end() call in is_double(), which would have caused
compilation failures or other problems on some platforms.

Patch taken from upstream C TAP Harness.

Modified:
  trunk/support/getc-tap-harness
  trunk/tests/tap/float.c

--------------------------+
 support/getc-tap-harness |    2 +-
 tests/tap/float.c        |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

Modified: support/getc-tap-harness
===================================================================
--- support/getc-tap-harness	2016-04-04 20:57:06 UTC (rev 10003)
+++ support/getc-tap-harness	2016-04-13 19:57:22 UTC (rev 10004)
@@ -171,7 +171,7 @@
 
     if [ "$3" = "float.c" ]
     then
-      sed -i -e "49 i \\
+      sed -i -e "50 i \\
 #ifndef LIBTEST_NEW_FORMAT\\
 /* Specific to the integration of C TAP Harness in INN. */\\
 void\\

Modified: tests/tap/float.c
===================================================================
--- tests/tap/float.c	2016-04-04 20:57:06 UTC (rev 10003)
+++ tests/tap/float.c	2016-04-13 19:57:22 UTC (rev 10004)
@@ -11,7 +11,8 @@
  * This file is part of C TAP Harness.  The current version plus supporting
  * documentation is at <http://www.eyrie.org/~eagle/software/c-tap-harness/>.
  *
- * Copyright 2008, 2010, 2012, 2013, 2014, 2015 Russ Allbery <eagle at eyrie.org>
+ * Copyright 2008, 2010, 2012, 2013, 2014, 2015, 2016
+ *     Russ Allbery <eagle at eyrie.org>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -78,5 +79,6 @@
         diag("  seen: %g", seen);
         okv(0, format, args);
     }
+    va_end(args);
     return success;
 }



More information about the inn-committers mailing list