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.11-125-ge26dfa6
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Jan 2010 07:07:33 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.11-125-ge26dfa6
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 e26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43 (commit)
from 5a7af22fbb661e351473bfde639beeac16fc32f7 (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=e26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43
commit e26dfa69f5329d5ec7dfdb7a1596b1fbff0d3e43
Author: Ulrich Drepper <drepper@redhat.com>
Date: Wed Jan 13 23:06:59 2010 -0800
Add nonnull attribute to unsetenv declaration.
diff --git a/ChangeLog b/ChangeLog
index 9080030..0fcaaa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-13 Ulrich Drepper <drepper@redhat.com>
+
+ * stdlib/stdlib.h: Parameter of unsetenv must not be NULL.
+
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/strlen.S: Unroll the loop.
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index bac8ed6..248aa33 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -586,7 +586,7 @@ extern int setenv (__const char *__name, __const char *__value, int __replace)
__THROW __nonnull ((2));
/* Remove the variable NAME from the environment. */
-extern int unsetenv (__const char *__name) __THROW;
+extern int unsetenv (__const char *__name) __THROW __nonnull ((1));
#endif
#ifdef __USE_MISC
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
stdlib/stdlib.h | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources