Date: Mon, 07 Aug 2017 13:51:49 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221224] setlocale.c does not properly detect if locale contains too many slashes Message-ID: <bug-221224-8-XUx0QtRizM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221224-8@https.bugs.freebsd.org/bugzilla/> References: <bug-221224-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221224 --- Comment #2 from Leonard König <leonard.r.koenig@googlemail.com> --- It seems that there's no documentation on how a "composite locale" is built except > A composite locale is a string beginning with a "/", followed by the locale of each category, separated by a "/". from [1]. However, FreeBSDs implementation does not allow leading slashes as seen earlier already. However the implementation allows for more than one '/' separating the locales -- except for the first, ie: "C/C/////C/C/C/C/" -- allowed "C/////C/C/C/C/C/" -- not allowed this at least is inconsistent if not unwanted, I assume (also the documentation on how a composite locale is built is lacking, especially since it's behavior is based on the internal ordering of LC_*). ---- [1] http://docs.oracle.com/cd/E13203_01/tuxedo/tux91/rf3c/rf3c14.htm -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221224-8-XUx0QtRizM>
