rpms/coreutils/devel coreutils-6.12-seqdecimalutf8.patch, NONE, 1.1 coreutils.spec, 1.225, 1.226
Ondrej Vasik
ovasik at fedoraproject.org
Mon Sep 29 20:38:28 UTC 2008
Author: ovasik
Update of /cvs/extras/rpms/coreutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29743
Modified Files:
coreutils.spec
Added Files:
coreutils-6.12-seqdecimalutf8.patch
Log Message:
seq should no longer fail to display final number of some float sequences with utf8 locales(#463556)
coreutils-6.12-seqdecimalutf8.patch:
--- NEW FILE coreutils-6.12-seqdecimalutf8.patch ---
diff -urNp coreutils-6.12-orig/src/seq.c coreutils-6.12/src/seq.c
--- coreutils-6.12-orig/src/seq.c 2008-05-26 08:40:32.000000000 +0200
+++ coreutils-6.12/src/seq.c 2008-09-29 22:09:21.000000000 +0200
@@ -304,7 +304,10 @@ print_numbers (char const *fmt, struct l
bool print_extra_number = false;
long double x_val;
char *x_str;
- int x_strlen = asprintf (&x_str, fmt, x);
+ int x_strlen;
+ setlocale (LC_NUMERIC, "C");
+ x_strlen = asprintf (&x_str, fmt, x);
+ setlocale (LC_NUMERIC, "");
if (x_strlen < 0)
xalloc_die ();
x_str[x_strlen - layout.suffix_len] = '\0';
Index: coreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -r1.225 -r1.226
--- coreutils.spec 13 Aug 2008 12:59:58 -0000 1.225
+++ coreutils.spec 29 Sep 2008 20:37:58 -0000 1.226
@@ -21,6 +21,8 @@
Patch1: coreutils-futimensatkoji.patch
Patch2: coreutils-authors.patch
Patch3: coreutils-who_texinfo.patch
+#Patch4: coreutils-6.12-date_timerelsnumber.patch
+Patch5: coreutils-6.12-seqdecimalutf8.patch
# Our patches
Patch100: coreutils-6.10-configuration.patch
@@ -54,7 +56,6 @@
#(upstream did some SELinux implementation unlike with RedHat patch)
Patch950: coreutils-selinux.patch
Patch951: coreutils-selinuxmanpages.patch
-Patch952: coreutils-6.11-matchpathconinstall.patch
# ls enhancements (must be applied after SELINUX patches)
Patch954: coreutils-6.12-ls-libcap.patch
@@ -69,7 +70,7 @@
#dist-lzma required
BuildRequires: automake >= 1.10.1
%{?!nopam:BuildRequires: pam-devel}
-BuildRequires: libcap-devel >= 2.0.6
+#BuildRequires: libcap-devel >= 2.0.6
Requires(post): libselinux >= 1.25.6-1
Requires(pre): /sbin/install-info
@@ -111,6 +112,8 @@
%patch1 -p1 -b .kojifutimensat
%patch2 -p1 -b .authors
%patch3 -p1 -b .whotexinfo
+#%patch4 -p1 -b .getdate
+%patch5 -p1 -b .sequtf8
# Our patches
%patch100 -p1 -b .configure
@@ -329,6 +332,10 @@
/sbin/runuser
%changelog
+* Mon Sep 29 2008 Ondrej Vasik <ovasik at redhat.com> - 6.12-10
+- seq should no longer fail to display final number of some
+ float usages of seq with utf8 locales(#463556)
+
* Wed Aug 13 2008 Ondrej Vasik <ovasik at redhat.com> - 6.12-9
- mention that DISPLAY and XAUTHORITY envvars are preserved
for pam_xauth in su -l (#450505)
More information about the fedora-extras-commits
mailing list