2000-10-05  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.

2000-10-02  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
	remaining xp_pad space.

2000-10-05  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
	DF_1_NODELETE, not list[i]'s.
This commit is contained in:
Ulrich Drepper 2000-10-05 18:10:14 +00:00
parent 619166175d
commit 172b90bbf6
6 changed files with 1170 additions and 5 deletions

View file

@ -1,3 +1,17 @@
2000-10-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
2000-10-02 Jakub Jelinek <jakub@redhat.com>
* sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
remaining xp_pad space.
2000-10-05 Jakub Jelinek <jakub@redhat.com>
* elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
DF_1_NODELETE, not list[i]'s.
2000-10-04 Ulrich Drepper <drepper@redhat.com>
* iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.

View file

@ -95,7 +95,7 @@ _dl_close (void *_map)
struct link_map *imap = map->l_initfini[i];
if (imap->l_opencount == 1 && imap->l_type == lt_loaded
&& (imap->l_info[DT_FINI] || imap->l_info[DT_FINI_ARRAY])
&& ! (list[i]->l_flags_1 & DF_1_NODELETE)
&& ! (imap->l_flags_1 & DF_1_NODELETE)
/* Skip any half-cooked objects that were never initialized. */
&& imap->l_init_called)
{

View file

@ -1,3 +1,9 @@
2000-10-05 Jakub Jelinek <jakub@redhat.com>
* mutex.c (__pthread_mutex_destroy): Correct test of
busy mutex for mutexes using alternate fastlocks.
Patch by dtc@cmucl.cons.org.
2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
* sysdeps/s390/pt-machine.h: Make %a0 the thread register.

View file

@ -38,8 +38,20 @@ strong_alias (__pthread_mutex_init, pthread_mutex_init)
int __pthread_mutex_destroy(pthread_mutex_t * mutex)
{
if ((mutex->__m_lock.__status & 1) != 0) return EBUSY;
return 0;
switch (mutex->__m_kind) {
case PTHREAD_MUTEX_ADAPTIVE_NP:
case PTHREAD_MUTEX_RECURSIVE_NP:
if ((mutex->__m_lock.__status & 1) != 0)
return EBUSY;
return 0;
case PTHREAD_MUTEX_ERRORCHECK_NP:
case PTHREAD_MUTEX_TIMED_NP:
if (mutex->__m_lock.__status != 0)
return EBUSY;
return 0;
default:
return EINVAL;
}
}
strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy)

View file

@ -245,8 +245,8 @@ again:
mesgp->msg_namelen = len;
mesgp->msg_control = &xprt->xp_pad [sizeof (struct iovec)
+ sizeof (struct msghdr)];
mesgp->msg_controllen = sizeof(struct cmsghdr)
+ sizeof (struct in_pktinfo);
mesgp->msg_controllen = sizeof(xprt->xp_pad)
- sizeof (struct iovec) - sizeof (struct msghdr);
rlen = recvmsg (xprt->xp_sock, mesgp, 0);
if (rlen >= 0)
len = mesgp->msg_namelen;

File diff suppressed because it is too large Load diff