Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38841 - [glibc] 2.19 surprising locale.gen whitespace only change

Attached to Project: Arch Linux
Opened by c (c) - Saturday, 08 February 2014, 15:35 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 08 February 2014, 17:31 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
glibc 2.19 locale.gen adds trailing whitespace on all lines. It looks like the only difference between 2.18's and 2.19's locale.gen is trailing whitespace on all commented lines. That doesn't look intentional to or is it?

Steps to reproduce:
Update to 2.19 and be surprised when merging locale.gen with locale.gen.pacnew.
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 08 February 2014, 17:31 GMT
Reason for closing:  Not a bug
Additional comments about closing:  whitespace was present in earlier versions. Diff from 2.18 to 2.19 is only added locales
Comment by Dave Reisner (falconindy) - Saturday, 08 February 2014, 15:40 GMT
The trailing whitespace was there in 2.18 as well...

$ bsdtar xOf /pkg/bin/glibc-2.18-10-x86_64.pkg.tar.xz etc/locale.gen | grep -Ec [[:space:]]+$
445

The only change between 2.18 and 2.19 is the addition of locales:

$ diff -u <(bsdtar xOf /pkg/bin/glibc-2.18-10-x86_64.pkg.tar.xz etc/locale.gen) <(bsdtar xOf /pkg/bin/glibc-2.19-1-x86_64.pkg.tar.xz etc/locale.gen) | grep ^[-+]
--- /dev/fd/63 2014-02-08 11:33:04.114713615 -0500
+++ /dev/fd/62 2014-02-08 11:33:04.114713615 -0500
+#ak_GH UTF-8
+#anp_IN UTF-8
+#ar_SS UTF-8
+#cmn_TW UTF-8
+#hak_TW UTF-8
+#lzh_TW UTF-8
+#nan_TW UTF-8
+#pap_AW UTF-8
+#pap_CW UTF-8
+#quz_PE UTF-8
+#the_NP UTF-8

Loading...