Source-Changes-HG archive

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

[src/netbsd-8]: src/tests/lib/libc/locale Additionally pull up r1.5 for ticke...



details:   https://anonhg.NetBSD.org/src/rev/2f6b6b510921
branches:  netbsd-8
changeset: 434755:2f6b6b510921
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 18 10:19:33 2018 +0000

description:
Additionally pull up r1.5 for ticket #608:

VAX doesn't have the test cases, so stub the body as well.

diffstat:

 tests/lib/libc/locale/t_wcstod.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 98fe3e394c0b -r 2f6b6b510921 tests/lib/libc/locale/t_wcstod.c
--- a/tests/lib/libc/locale/t_wcstod.c  Sat Mar 17 11:32:15 2018 +0000
+++ b/tests/lib/libc/locale/t_wcstod.c  Sun Mar 18 10:19:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_wcstod.c,v 1.3.34.1 2018/03/15 09:55:23 martin Exp $ */
+/* $NetBSD: t_wcstod.c,v 1.3.34.2 2018/03/18 10:19:33 martin Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2011\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_wcstod.c,v 1.3.34.1 2018/03/15 09:55:23 martin Exp $");
+__RCSID("$NetBSD: t_wcstod.c,v 1.3.34.2 2018/03/18 10:19:33 martin Exp $");
 
 #include <errno.h>
 #include <math.h>
@@ -392,6 +392,7 @@
 }
 ATF_TC_BODY(wcstombs, tc)
 {
+#if !defined(__vax__)
        struct test *t;
        size_t n;
        char *buf;
@@ -411,6 +412,7 @@
                
                free(buf);
        }
+#endif
 }
 
 ATF_TC(wcstod);



Home | Main Index | Thread Index | Old Index