This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.10-410-g08c7ad9
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 Oct 2009 16:22:50 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.10-410-g08c7ad9
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 08c7ad975ca9e9f017dbbd35e2c01f34058ca700 (commit)
from 9dd5b8a167cfc4fdab3c3862ca3cb14fd9836297 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=08c7ad975ca9e9f017dbbd35e2c01f34058ca700
commit 08c7ad975ca9e9f017dbbd35e2c01f34058ca700
Author: Ulrich Drepper <drepper@redhat.com>
Date: Fri Oct 30 09:22:34 2009 -0700
Avoid two warnings in strtol{,l} tests.
diff --git a/ChangeLog b/ChangeLog
index c82beaf..de5289a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-10-30 Ulrich Drepper <drepper@redhat.com>
+ * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned
+ to avoid warning.
+ * stdlib/tst-strtoll.c (tests): Likewise.
+
[BZ #9986]
* time/strftime_l.c (__strftime_internal): Allow %OC.
diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c
index 2887854..f569e55 100644
--- a/stdlib/tst-strtol.c
+++ b/stdlib/tst-strtol.c
@@ -299,7 +299,7 @@ static const struct ltest tests[] =
{"-2021110011022210012102010021220101220222",
-9223372036854775808ull, 3, 0, 0},
{"-2021110011022210012102010021220101221000",
- -9223372036854775808l, 3, 0, ERANGE},
+ -9223372036854775808ull, 3, 0, ERANGE},
{"-20000000000000000000000000000000", -9223372036854775808ull, 4, 0, 0},
{"-20000000000000000000000000000001", -9223372036854775808ull, 4, 0, ERANGE},
{"-1104332401304422434310311213", -9223372036854775808ull, 5, 0, 0},
diff --git a/stdlib/tst-strtoll.c b/stdlib/tst-strtoll.c
index a5a1eb0..ba33382 100644
--- a/stdlib/tst-strtoll.c
+++ b/stdlib/tst-strtoll.c
@@ -152,7 +152,7 @@ static const struct ltest tests[] =
{"-2021110011022210012102010021220101220222",
-9223372036854775808ull, 3, 0, 0},
{"-2021110011022210012102010021220101221000",
- -9223372036854775808l, 3, 0, ERANGE},
+ -9223372036854775808ull, 3, 0, ERANGE},
{"-20000000000000000000000000000000", -9223372036854775808ull, 4, 0, 0},
{"-20000000000000000000000000000001", -9223372036854775808ull, 4, 0, ERANGE},
{"-1104332401304422434310311213", -9223372036854775808ull, 5, 0, 0},
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
stdlib/tst-strtol.c | 2 +-
stdlib/tst-strtoll.c | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources