]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Updated to fedora-glibc-20090416T1610 cvs/fedora-glibc-2_9_90-19
authorJakub Jelinek <jakub@redhat.com>
Thu, 16 Apr 2009 16:36:55 +0000 (16:36 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 16 Apr 2009 16:36:55 +0000 (16:36 +0000)
ChangeLog
elf/dl-open.c
fedora/branch.mk
fedora/glibc.spec.in
resolv/res_send.c

index 37ee696fda000300246e2347cc8c8d00e06f9cf2..bbe8284c45ad60ab49ae5052555594bb1449ca6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-04-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries
+       are dlopened in statically linked program even for __LM_ID_CALLER.
+
+2009-04-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * resolv/res_send.c (send_dg): Don't switch into single-request
+       mode if we already are in it.
+
 2009-04-15  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there
index 3799669cee928f76e46774984e4b8a652e76b44d..458cf0cd13cf4f50970feb1a83fb5ffcae0361c1 100644 (file)
@@ -580,7 +580,8 @@ no more namespaces available for dlmopen()"));
     _dl_signal_error (EINVAL, file, NULL,
                      N_("invalid target namespace in dlmopen()"));
 #ifndef SHARED
-  else if (nsid == LM_ID_BASE && GL(dl_ns)[LM_ID_BASE]._ns_loaded == NULL
+  else if ((nsid == LM_ID_BASE || nsid == __LM_ID_CALLER)
+          && GL(dl_ns)[LM_ID_BASE]._ns_loaded == NULL
           && GL(dl_nns) == 0)
     GL(dl_nns) = 1;
 #endif
index d8505286dddd0889ebe763624e3e4939fc9908e7..253166a762275edb442e49ad194e75df3eb26669 100644 (file)
@@ -3,5 +3,5 @@ glibc-branch := fedora
 glibc-base := HEAD
 DIST_BRANCH := devel
 COLLECTION := dist-f8
-fedora-sync-date := 2009-04-16 06:10 UTC
-fedora-sync-tag := fedora-glibc-20090416T0610
+fedora-sync-date := 2009-04-16 16:10 UTC
+fedora-sync-tag := fedora-glibc-20090416T1610
index 93e24c9240d4c020b9bfdd279af64f48562b3367..85bcd04cc6ef7301f4bf18f8718897271f6ab608 100644 (file)
@@ -19,7 +19,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: @glibcversion@
-Release: 18
+Release: 19
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1009,6 +1009,10 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Thu Apr 16 2009 Jakub Jelinek <jakub@redhat.com> 2.9.90-19
+- update from trunk
+  - fix dlopen from statically linked binaries (#495830)
+
 * Thu Apr 16 2009 Jakub Jelinek <jakub@redhat.com> 2.9.90-18
 - update from trunk
   - fix fallocate
index 0490b52fca6cc869c12915d7446d42460c0af14a..a339c2be51be55c324a80dcd51460304730b6fd4 100644 (file)
@@ -1048,7 +1048,9 @@ send_dg(res_state statp,
        }
        if (n == 0) {
                Dprint(statp->options & RES_DEBUG, (stdout, ";; timeout\n"));
-               if (resplen > 1 && (recvresp1 || (buf2 != NULL && recvresp2)))
+               if (!single_request
+                   && resplen > 1
+                   && (recvresp1 || (buf2 != NULL && recvresp2)))
                  {
                    /* There are quite a few broken name servers out
                       there which don't handle two outstanding