* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable.
2001-01-24 Mark Kettenis <kettenis@gnu.org> * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable.
This commit is contained in:
parent
1f3109a5f8
commit
99f1b15bd1
|
@ -1,3 +1,9 @@
|
||||||
|
2001-01-24 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
|
||||||
|
declaration of value such that we actually return the value of the
|
||||||
|
environment variable.
|
||||||
|
|
||||||
2001-01-24 Andreas Jaeger <aj@suse.de>
|
2001-01-24 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
|
* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
|
||||||
|
|
|
@ -1347,7 +1347,6 @@ _hurdsig_getenv (const char *variable)
|
||||||
_hurdsig_fault_preemptor.last = VM_MAX_ADDRESS;
|
_hurdsig_fault_preemptor.last = VM_MAX_ADDRESS;
|
||||||
if (! strncmp (p, variable, len) && p[len] == '=')
|
if (! strncmp (p, variable, len) && p[len] == '=')
|
||||||
{
|
{
|
||||||
char *value;
|
|
||||||
size_t valuelen;
|
size_t valuelen;
|
||||||
p += len + 1;
|
p += len + 1;
|
||||||
valuelen = strlen (p);
|
valuelen = strlen (p);
|
||||||
|
|
Loading…
Reference in New Issue