From: Ulrich Drepper Date: Tue, 26 Sep 2000 05:50:51 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/libc-2_1_95~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f2de3379caae38ce49b6db1331105d6bd162316;p=platform%2Fupstream%2Fglibc.git Update. * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW. --- diff --git a/ChangeLog b/ChangeLog index 3aa66a3..e78bc70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-09-25 Ulrich Drepper + * 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. diff --git a/elf/rtld.c b/elf/rtld.c index b2c9f5d..18ff312 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -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; diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 69cbaea..6b02584 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,9 @@ +2000-09-25 Ulrich Drepper + + * locales/uk_UA: Fix yesexpr. + * locales/ru_UA: Likewise. + Patches by Andrew V. Samoilov . + 2000-09-24 Bruno Haible * charmaps/UTF-8: Expand and ranges, diff --git a/localedata/locales/ru_UA b/localedata/locales/ru_UA index b2a8365..e71ff88 100644 --- a/localedata/locales/ru_UA +++ b/localedata/locales/ru_UA @@ -3035,7 +3035,7 @@ order_end END LC_COLLATE LC_MESSAGES -yesexpr "" +yesexpr "" noexpr "" END LC_MESSAGES diff --git a/localedata/locales/uk_UA b/localedata/locales/uk_UA index 560c115..3a3acf9 100644 --- a/localedata/locales/uk_UA +++ b/localedata/locales/uk_UA @@ -3035,7 +3035,7 @@ order_end END LC_COLLATE LC_MESSAGES -yesexpr "" +yesexpr "" noexpr "" END LC_MESSAGES