Clarify info page for snprintf (#564528)

This commit is contained in:
Jeff Law 2012-02-09 23:50:17 -07:00
parent a3c3ac2213
commit ffdb8099ce
2 changed files with 42 additions and 0 deletions

38
glibc-rh564528.patch Normal file
View File

@ -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 "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
+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 "<U0433><U0440>" % hr (hryvnya)
+currency_symbol "<U0433><U0440><U043D><U002E>" % 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

View File

@ -84,6 +84,8 @@ Patch24: %{name}-rh770439.patch
Patch25: %{name}-rh789209.patch Patch25: %{name}-rh789209.patch
# Was acked in the upstream BZ, but patch never got installed # Was acked in the upstream BZ, but patch never got installed
Patch26: %{name}-rh624296.patch Patch26: %{name}-rh624296.patch
# Needs to be sent upstream
Patch27: %{name}-rh564528.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -329,6 +331,7 @@ rm -rf %{glibcportsdir}
%patch24 -p1 %patch24 -p1
%patch25 -p1 %patch25 -p1
%patch26 -p1 %patch26 -p1
%patch27 -p1
# A lot of programs still misuse memcpy when they have to use # A lot of programs still misuse memcpy when they have to use
# memmove. The memcpy implementation below is not tolerant at # memmove. The memcpy implementation below is not tolerant at
@ -1182,6 +1185,7 @@ rm -f *.filelist*
%changelog %changelog
* Fri Feb 8 2012 Jeff Law <law@redhat.com> - 2.15-17 * Fri Feb 8 2012 Jeff Law <law@redhat.com> - 2.15-17
- Clarify info page for snprintf (#564528)
- Fix first_weekday and first_workday for ru_UA (#624296) - Fix first_weekday and first_workday for ru_UA (#624296)
* Tue Feb 7 2012 Jeff Law <law@redhat.com> - 2.15-16 * Tue Feb 7 2012 Jeff Law <law@redhat.com> - 2.15-16