mirror of git://sourceware.org/git/glibc.git
Update.
2001-12-13 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID, but have a user supplied buffer, return the empty buffer, not NULL.
This commit is contained in:
parent
0838e0b926
commit
9b63f5b4fa
|
|
@ -1,3 +1,8 @@
|
||||||
|
2001-12-13 Thorsten Kukuk <kukuk@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/posix/cuserid.c (cuserid): If we don't find the UID,
|
||||||
|
but have a user supplied buffer, return the empty buffer, not NULL.
|
||||||
|
|
||||||
2001-12-13 Ulrich Drepper <drepper@redhat.com>
|
2001-12-13 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* crypt/md5.c (md5_process_bytes): Correct handling of alignment.
|
* crypt/md5.c (md5_process_bytes): Correct handling of alignment.
|
||||||
|
|
|
||||||
|
|
@ -102,8 +102,11 @@ int pthread_key_delete(pthread_key_t key)
|
||||||
|
|
||||||
/* Set the value of the key to NULL in all running threads, so
|
/* Set the value of the key to NULL in all running threads, so
|
||||||
that if the key is reallocated later by pthread_key_create, its
|
that if the key is reallocated later by pthread_key_create, its
|
||||||
associated values will be NULL in all threads. */
|
associated values will be NULL in all threads.
|
||||||
|
|
||||||
|
Do nothing if no threads have been created yet. */
|
||||||
|
|
||||||
|
if (__pthread_manager_request != -1)
|
||||||
{
|
{
|
||||||
struct pthread_key_delete_helper_args args;
|
struct pthread_key_delete_helper_args args;
|
||||||
struct pthread_request request;
|
struct pthread_request request;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991, 1996, 1998, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1996, 1998, 1999, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -39,7 +39,7 @@ cuserid (s)
|
||||||
{
|
{
|
||||||
if (s != NULL)
|
if (s != NULL)
|
||||||
s[0] = '\0';
|
s[0] = '\0';
|
||||||
return NULL;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue