]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 26 Sep 2000 05:50:51 +0000 (05:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 26 Sep 2000 05:50:51 +0000 (05:50 +0000)
* elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.

ChangeLog
elf/rtld.c
localedata/ChangeLog
localedata/locales/ru_UA
localedata/locales/uk_UA

index 3aa66a39d1b382bc566401697ff04927ac350cee..e78bc70c98ef9f694827493114cab7ff21ff76d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-09-25  Ulrich Drepper  <drepper@redhat.com>
 
+       * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
+
        * locale/Makefile (routines): Add nl_langinfo_l.
        * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
        * locale/nl_langinfo_l.c: New file.
index b2c9f5dc209d558dd77e9e29be767b4ddae27ff4..18ff312baa7384ea4c1c4cb8f2d8fba5f685638c 100644 (file)
@@ -1497,6 +1497,11 @@ process_envvars (enum mode *modep, int *lazyp)
      messages to this file.  */
   if (any_debug && debug_output != NULL && !__libc_enable_secure)
     {
+#ifdef O_NOFOLLOW
+      const int flags = O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW;
+#else
+      const int flags = O_WRONLY | O_APPEND | O_CREAT;
+#endif
       size_t name_len = strlen (debug_output);
       char buf[name_len + 12];
       char *startp;
@@ -1506,7 +1511,7 @@ process_envvars (enum mode *modep, int *lazyp)
       *--startp = '.';
       startp = memcpy (startp - name_len, debug_output, name_len);
 
-      _dl_debug_fd = __open (startp, O_WRONLY | O_APPEND | O_CREAT, 0666);
+      _dl_debug_fd = __open (startp, flags, 0666);
       if (_dl_debug_fd == -1)
        /* We use standard output if opening the file failed.  */
        _dl_debug_fd = STDOUT_FILENO;
index 69cbaea428e023a3d40e112f49accf79d10fb947..6b0258461f3f6165d737cdeb4f7a8f87e8e838fd 100644 (file)
@@ -1,3 +1,9 @@
+2000-09-25  Ulrich Drepper  <drepper@redhat.com>
+
+       * locales/uk_UA: Fix yesexpr.
+       * locales/ru_UA: Likewise.
+       Patches by Andrew V. Samoilov <sav@bcs.zp.ua>.
+
 2000-09-24  Bruno Haible  <haible@clisp.cons.org>
 
        * charmaps/UTF-8: Expand <Hangul Syllable> and <Private Use> ranges,
index b2a8365c4e4d485a02f046a69375ed48ac9c1187..e71ff8859f75bbf4e4d3dd767d2de1212319592d 100644 (file)
@@ -3035,7 +3035,7 @@ order_end
 END LC_COLLATE
 
 LC_MESSAGES
-yesexpr "<U005B><U0414><U0434><U0059><U0059><U005D><U002E><U002A>"
+yesexpr "<U005B><U0414><U0434><U0059><U0079><U005D><U002E><U002A>"
 noexpr  "<U005B><U041D><U043D><U004E><U006E><U005D><U002E><U002A>"
 END LC_MESSAGES
 
index 560c115008cc821c65ab2e3462dc9958afdb4a6f..3a3acf9c6221f07c79b7e72841014abd91fbd3c1 100644 (file)
@@ -3035,7 +3035,7 @@ order_end
 END LC_COLLATE
 
 LC_MESSAGES
-yesexpr "<U005B><U0422><U0442><U0059><U0059><U005D><U002E><U002A>"
+yesexpr "<U005B><U0422><U0442><U0059><U0079><U005D><U002E><U002A>"
 noexpr  "<U005B><U041D><U043D><U004E><U006E><U005D><U002E><U002A>"
 END LC_MESSAGES