projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When trying to open ".", treat ESTALE like EACCES.
[gnulib.git]
/
lib
/
putenv.c
diff --git
a/lib/putenv.c
b/lib/putenv.c
index
5fa576a
..
0602e44
100644
(file)
--- a/
lib/putenv.c
+++ b/
lib/putenv.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004, 2005, 2006
+/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004, 2005, 2006
, 2007
Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
@@
-57,7
+57,7
@@
__libc_lock_define_initialized (static, envlock)
#endif
static int
#endif
static int
-unsetenv (const char *name)
+
_
unsetenv (const char *name)
{
size_t len;
char **ep;
{
size_t len;
char **ep;
@@
-105,7
+105,7
@@
rpl_putenv (const char *string)
if (name_end == NULL)
{
/* Remove the variable from the environment. */
if (name_end == NULL)
{
/* Remove the variable from the environment. */
- return unsetenv (string);
+ return
_
unsetenv (string);
}
size = 0;
}
size = 0;