Initial commit: Uploaded everything from abs/core
[arch-rock.git] / base / glibc / fix-C-first_weekday.diff
blob579928bcd8d9e417797f2a5baa952346244a0c32
1 #! /bin/sh -e
3 # All lines beginning with `# DP:' are a description of the patch.
4 # DP: Description: #327025 C locale has bad default for _NL_TIME_FIRST_WEEKDAY
5 # DP: Also fixes the 3rd value of the week keyword.
6 # DP: Related bugs: #327025 BZ181
7 # DP: Dpatch author: Denis Barbier
8 # DP: Patch author: Petter Reinholdtsen
9 # DP: Upstream status: BZ181
10 # DP: Date: 2006-01-10
12 Index: locale/C-time.c
13 ===================================================================
14 --- locale/C-time.c.orig
15 +++ locale/C-time.c
16 @@ -135,10 +135,10 @@
17 { .wstr = (const uint32_t *) L"" },
18 { .string = "\7" },
19 { .word = 19971130 },
20 - { .string = "\4" },
21 { .string = "\7" },
22 { .string = "\1" },
23 { .string = "\1" },
24 + { .string = "\1" },
25 { .string = "" },
26 { .string = "%a %b %e %H:%M:%S %Z %Y" },
27 { .wstr = (const uint32_t *) L"%a %b %e %H:%M:%S %Z %Y" },