diff --git a/glibc-rh564528.patch b/glibc-rh564528.patch new file mode 100644 index 0000000..8de7fb2 --- /dev/null +++ b/glibc-rh564528.patch @@ -0,0 +1,38 @@ +diff -rup a/localedata/locales/ru_UA b/localedata/locales/ru_UA +--- a/localedata/locales/ru_UA 2012-01-01 05:16:32.000000000 -0700 ++++ b/localedata/locales/ru_UA 2012-02-09 22:57:29.698433625 -0700 +@@ -141,6 +141,8 @@ t_fmt_ampm "" + date_fmt "/ + / + " ++first_weekday 2 ++first_workday 2 + END LC_TIME + + LC_PAPER +diff -rup a/localedata/locales/uk_UA b/localedata/locales/uk_UA +--- a/localedata/locales/uk_UA 2012-01-01 05:16:32.000000000 -0700 ++++ b/localedata/locales/uk_UA 2012-02-09 22:32:36.864134146 -0700 +@@ -700,7 +700,7 @@ LC_MONETARY + % 200 hrv. - 200 hryven (money) + + % the local currency symbol +-currency_symbol "" % hr (hryvnya) ++currency_symbol "" % hr (hryvnya) + + % This must be a 4-character string containing the international currency + % symbol as defined by the ISO 4217 standard (three characters) followed +Only in b/localedata/locales: uk_UA.orig +Only in b/localedata/locales: uk_UA.rej +diff -rup a/manual/stdio.texi b/manual/stdio.texi +--- a/manual/stdio.texi 2012-01-01 05:16:32.000000000 -0700 ++++ b/manual/stdio.texi 2012-02-09 23:46:31.660912211 -0700 +@@ -2324,6 +2324,8 @@ the @var{size} argument specifies the ma + produce. The trailing null character is counted towards this limit, so + you should allocate at least @var{size} characters for the string @var{s}. + ++The trailing null byte is added to @var{s}, unless @var{size} is zero. ++ + The return value is the number of characters which would be generated + for the given input, excluding the trailing null. If this value is + greater or equal to @var{size}, not all characters from the result have diff --git a/glibc.spec b/glibc.spec index 1a45ec8..23f3738 100644 --- a/glibc.spec +++ b/glibc.spec @@ -84,6 +84,8 @@ Patch24: %{name}-rh770439.patch Patch25: %{name}-rh789209.patch # Was acked in the upstream BZ, but patch never got installed Patch26: %{name}-rh624296.patch +# Needs to be sent upstream +Patch27: %{name}-rh564528.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -329,6 +331,7 @@ rm -rf %{glibcportsdir} %patch24 -p1 %patch25 -p1 %patch26 -p1 +%patch27 -p1 # A lot of programs still misuse memcpy when they have to use # memmove. The memcpy implementation below is not tolerant at @@ -1182,6 +1185,7 @@ rm -f *.filelist* %changelog * Fri Feb 8 2012 Jeff Law - 2.15-17 + - Clarify info page for snprintf (#564528) - Fix first_weekday and first_workday for ru_UA (#624296) * Tue Feb 7 2012 Jeff Law - 2.15-16