Re: locate.mklocatedb broken with LC_ALL!=C

2019-02-15 Thread Marc Espie
On Fri, Feb 15, 2019 at 07:58:48PM +0100, Giovanni Bechis wrote: > ping... > any possible issue with millert@ diff ? > Giovanni > > On Sun, Oct 07, 2018 at 08:35:28PM -0600, Todd C. Miller wrote: > > On Sun, 07 Oct 2018 17:08:06 +0200, Marc Espie wrote: > > > > > Specifically, the only part

Re: locate.mklocatedb broken with LC_ALL!=C

2019-02-15 Thread Giovanni Bechis
ping... any possible issue with millert@ diff ? Giovanni On Sun, Oct 07, 2018 at 08:35:28PM -0600, Todd C. Miller wrote: > On Sun, 07 Oct 2018 17:08:06 +0200, Marc Espie wrote: > > > Specifically, the only part that cares about > > locale is sort, and it's definitely correct in fixing > > it's

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-08 Thread Giovanni Bechis
On Sun, Oct 07, 2018 at 08:35:28PM -0600, Todd C. Miller wrote: > On Sun, 07 Oct 2018 17:08:06 +0200, Marc Espie wrote: > > > Specifically, the only part that cares about > > locale is sort, and it's definitely correct in fixing > > it's not run on an utf-8 file. > > Agreed. How about the

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Todd C. Miller
On Sun, 07 Oct 2018 17:08:06 +0200, Marc Espie wrote: > Specifically, the only part that cares about > locale is sort, and it's definitely correct in fixing > it's not run on an utf-8 file. Agreed. How about the following? - todd Index: usr.bin/locate/locate/mklocatedb.sh

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Marc Espie
On Sun, Oct 07, 2018 at 09:43:05AM +0200, Giovanni Bechis wrote: > Hi, > after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, > resetting LC_ALL=C is a workaround. > > $ export LC_ALL=en_US.UTF-8 > $ doas /usr/libexec/locate.updatedb > sort:

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Giovanni Bechis
On Sun, Oct 07, 2018 at 10:06:35AM +0200, Stefan Sperling wrote: > On Sun, Oct 07, 2018 at 09:43:05AM +0200, Giovanni Bechis wrote: > > Hi, > > after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, > > resetting LC_ALL=C is a workaround. > > >

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Stefan Sperling
On Sun, Oct 07, 2018 at 09:43:05AM +0200, Giovanni Bechis wrote: > Hi, > after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, > resetting LC_ALL=C is a workaround. > > $ export LC_ALL=en_US.UTF-8 > $ doas /usr/libexec/locate.updatedb > sort:

locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Giovanni Bechis
Hi, after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, resetting LC_ALL=C is a workaround. $ export LC_ALL=en_US.UTF-8 $ doas /usr/libexec/locate.updatedb sort: Illegal byte sequence locate.mklocatedb: cannot build locate database $ export LC_ALL=C $ doas /usr/libexec