LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Priit Laes <plaes@plaes.org> To: Sam Ravnborg <sam@ravnborg.org> Cc: linux-kernel@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu> Subject: Re: [PATCH] x86: fix build on non-C locales. Date: Sun, 24 Feb 2008 18:36:05 +0200 [thread overview] Message-ID: <1203870965.17891.16.camel@localhost> (raw) In-Reply-To: <20080224090324.GA8169@uranus.ravnborg.org> Ühel kenal päeval, P, 2008-02-24 kell 10:03, kirjutas Sam Ravnborg: > Hi Prit. > > Could we just use [[:alnum:]] and drop the setting of LC_ALL? Yes, it works. Reverted the previous patch and did this: diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile index f385a4b..b8bd0c4 100644 --- a/arch/x86/vdso/Makefile +++ b/arch/x86/vdso/Makefile @@ -48,7 +48,7 @@ obj-$(VDSO64-y) += vdso-syms.lds # Match symbols in the DSO that look like VDSO*; produce a file of constants. # sed-vdsosym := -e 's/^00*/0/' \ - -e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p' + -e 's/^\([[:xdigit:]]*\) . \(VDSO[[:alnum:]_]*\)$$/\2 = 0x\1;/p' quiet_cmd_vdsosym = VDSOSYM $@ cmd_vdsosym = $(NM) $< | sed -n $(sed-vdsosym) | LC_ALL=C sort > $@
next prev parent reply other threads:[~2008-02-24 16:35 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-23 23:05 [PATCH] x86: fix build on non-C locales Priit Laes 2008-02-24 8:07 ` Ingo Molnar 2008-02-24 9:03 ` Sam Ravnborg 2008-02-24 16:36 ` Priit Laes [this message] 2008-02-24 16:49 ` Ingo Molnar
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1203870965.17891.16.camel@localhost \ --to=plaes@plaes.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mingo@elte.hu \ --cc=sam@ravnborg.org \ --cc=tglx@linutronix.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).