mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-16 07:21:57 +03:00
Update.
2003-07-21 HJ Lu <hongjiu.lu@intel.com> * elf/ldconfig.c (search_dir): Treat symlink as regular file if it won't point to itself.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-07-21 HJ Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf/ldconfig.c (search_dir): Treat symlink as regular file
|
||||||
|
if it won't point to itself.
|
||||||
|
|
||||||
2003-07-20 Ulrich Drepper <drepper@redhat.com>
|
2003-07-20 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
|
* sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
|
||||||
|
@ -787,11 +787,18 @@ search_dir (const struct dir_entry *entry)
|
|||||||
if (real_name != real_file_name)
|
if (real_name != real_file_name)
|
||||||
free (real_name);
|
free (real_name);
|
||||||
|
|
||||||
/* Links will just point to itself. */
|
/* A link may just point to itself. */
|
||||||
if (is_link)
|
if (is_link)
|
||||||
{
|
{
|
||||||
free (soname);
|
/* If the path the link points to isn't its soname, we treat
|
||||||
soname = xstrdup (direntry->d_name);
|
it as a normal file. */
|
||||||
|
if (strcmp (basename (real_name), soname) != 0)
|
||||||
|
is_link = 0;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
free (soname);
|
||||||
|
soname = xstrdup (direntry->d_name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flag == FLAG_ELF
|
if (flag == FLAG_ELF
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-07-21 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
|
||||||
|
Retry if the stwcx fails to store once_control.
|
||||||
|
|
||||||
2003-07-20 Ulrich Drepper <drepper@redhat.com>
|
2003-07-20 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* Makefile (libpthread-routines): Add pthread_attr_getaffinity and
|
* Makefile (libpthread-routines): Add pthread_attr_getaffinity and
|
||||||
|
@ -55,6 +55,7 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
|
|||||||
" andi. %1,%0,2\n"
|
" andi. %1,%0,2\n"
|
||||||
" bne 2f\n"
|
" bne 2f\n"
|
||||||
" stwcx. %4,0,%3\n"
|
" stwcx. %4,0,%3\n"
|
||||||
|
" bne 1b\n"
|
||||||
"2: isync"
|
"2: isync"
|
||||||
: "=&r" (oldval), "=&r" (tmp), "=m" (*once_control)
|
: "=&r" (oldval), "=&r" (tmp), "=m" (*once_control)
|
||||||
: "r" (once_control), "r" (newval), "m" (*once_control)
|
: "r" (once_control), "r" (newval), "m" (*once_control)
|
||||||
|
Reference in New Issue
Block a user