Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 5 Jun 2015 12:16:54 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: New libc-test regression test for uselocale [Was: Re: musl
 1.1.10 released]

On Fri, Jun 05, 2015 at 11:01:56AM -0400, Rich Felker wrote:
> On Fri, Jun 05, 2015 at 11:20:30AM +0300, Timo Teras wrote:
> > On Thu, 4 Jun 2015 16:30:18 -0400
> > Rich Felker <dalias@...c.org> wrote:
> > 
> > > This release fixes regressions introduced as part of the dynamic
> > > linker bootstrap overhaul in musl 1.1.9, and adds several new features
> > > and improvements. Internal cleanup and optimizations have been made to
> > > the locale system. A fail-safe/allocation-free locale_t object for the
> > > C locale is now available via newlocale(), and the iconv_open function
> > > now supports "" and "CHAR" as aliases for the native (UTF-8) encoding.
> > > A new crt start file, rcrt1.o, is provided for producing static-linked
> > > position independent executables (PIE). Minor PIE-related
> > > arch-specific bugs, and a bug in the ungetc and ungetwc stdio
> > > functions which caused them to fail on files in EOF status, have also
> > > been fixed. 
> > > 
> > > http://www.musl-libc.org/releases/musl-1.1.10.tar.gz
> > > http://www.musl-libc.org/releases/musl-1.1.10.tar.gz.asc
> > > 
> > > Thanks as always to musl's Patreon release sponsors:
> > > 
> > > - The Midipix Project (midipix.org)
> > > - Hurricane Labs (hurricanelabs.com)
> > > - Justin Cormack
> > > 
> > > Further notes on upcoming development will follow soon.
> > 
> > There's relatively nasty regression in uselocale() breaking most X
> > applications (due to some libraries).
> > 
> > See patch at:
> > http://git.alpinelinux.org/cgit/aports/plain/main/musl/0001-fix-uselocale-locale_t-0-to-not-modify-locale.patch
> 
> Uhg, this kind of thing is exactly why I've been wishing we had tests
> for locale functions. I tested it minimally by hand but didn't think
> to try passing (locale_t)0. I'll probably make a fix release with this
> patch applied.

Regression test for just this one issue is attached. We should still
have some big locale functionality tests, though...

Rich

View attachment "uselocale-0.c" of type "text/plain" (608 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.