Re: PVS-Studio Analyzer Spots Bugs In the FreeBSD 2017 edition

2017-04-07 Thread Warner Losh
On Fri, Apr 7, 2017 at 3:50 PM, Tommi Pernila wrote: > Hi all, > > just a heads up if you haven't yet seen this blog post from Andrey Karpov > from PVS-Studio. > It's a quite a long read. > https://www.viva64.com/en/b/0496/ > > Here's a few highlights (with some

PVS-Studio Analyzer Spots Bugs In the FreeBSD 2017 edition

2017-04-07 Thread Tommi Pernila
Hi all, just a heads up if you haven't yet seen this blog post from Andrey Karpov from PVS-Studio. It's a quite a long read. https://www.viva64.com/en/b/0496/ Here's a few highlights (with some paraphrasing). >PVS-Studio fixed errors where it's clear how to fix them without digging deep into

Re: problem with ls, not show a correct list

2017-04-07 Thread Nilton José Rizzo
Em 2017-04-07 05:51, Toomas Soome escreveu: On 7. apr 2017, at 11:29, Andrey Chernov wrote: Hi Allan, the ls show all files without case match ls [a-z]* show all files beginning with a and A like this [aA-zZ]* No, last "Z" is not included. Look this, it's a great

buildkernel broken for META_MODE

2017-04-07 Thread Ngie Cooper (yaneurabeya)
Hi, I ran into this error when trying to run a meta mode build (for the first time). It might be related to the recent assym* ordering changes. Thanks! -Ngie $ cat /etc/src-env.conf WITH_AUTO_OBJ= yes WITH_META_MODE= yes UPDATE_DEPENDFILE= yes $ pwd /usr/src $ svnversion 316603M $

Re: problem with ls, not show a correct list

2017-04-07 Thread Garrett Wollman
In article <3a8b8ade882d1486aa41b448a9c83...@i805.com.br> you write: > > > It's a terrible Is it a locale bug? Look! > >% locale >LANG=pt_BR.UTF-8 >% touch E >% ls -l [a-z]* >-rw-r--r-- 1 rizzo wheel 0 7 abr 02:06 E No, it's the specification of how character ranges in glob(3) and

Re: problem with ls, not show a correct list

2017-04-07 Thread Andrey Chernov
On 07.04.2017 11:51, Toomas Soome wrote: > >> On 7. apr 2017, at 11:29, Andrey Chernov wrote: >> >>> Hi Allan, the ls show all files without case match >>> >>> ls [a-z]* >>> >>> show all files beginning with a and A like this [aA-zZ]* >> >> No, last "Z" is not included. >> >

Re: problem with ls, not show a correct list

2017-04-07 Thread Toomas Soome
> On 7. apr 2017, at 11:29, Andrey Chernov wrote: > >> Hi Allan, the ls show all files without case match >> >> ls [a-z]* >> >> show all files beginning with a and A like this [aA-zZ]* > > No, last "Z" is not included. > This is to define set of chars: { a, A-z, Z } ?

Re: problem with ls, not show a correct list

2017-04-07 Thread Andrey Chernov
> Hi Allan, the ls show all files without case match > > ls [a-z]* > > show all files beginning with a and A like this [aA-zZ]* No, last "Z" is not included. ___ freebsd-current@freebsd.org mailing list

Re: problem with ls, not show a correct list

2017-04-07 Thread Nilton José Rizzo
Em 2017-04-07 02:29, Garrett Wollman escreveu: In article <3a8b8ade882d1486aa41b448a9c83...@i805.com.br> you write: It's a terrible Is it a locale bug? Look! % locale LANG=pt_BR.UTF-8 % touch E % ls -l [a-z]* -rw-r--r-- 1 rizzo wheel 0 7 abr 02:06 E No, it's the specification of