Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-15 Thread Baptiste Daroussin
On Sun, Jul 10, 2016 at 04:23:03PM +0800, Huang Wen Hui wrote: > I can reproduce it on a clean 11.0-BETA1 VM. > fixed in r302916. Will merge in 2 days in stable/11 Best regards, Bapt signature.asc Description: PGP signature

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-10 Thread Baptiste Daroussin
On Sun, Jul 10, 2016 at 04:23:03PM +0800, Huang Wen Hui wrote: > I can reproduce it on a clean 11.0-BETA1 VM. > > > 2016-07-09 9:03 GMT+08:00 Huang Wen Hui : > > > For some reasons, r302324 seems not include in 11.0-ALPHA6? > > > > 2016-07-09 8:52 GMT+08:00 Huang Wen Hui

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-10 Thread Huang Wen Hui
I can reproduce it on a clean 11.0-BETA1 VM. 2016-07-09 9:03 GMT+08:00 Huang Wen Hui : > For some reasons, r302324 seems not include in 11.0-ALPHA6? > > 2016-07-09 8:52 GMT+08:00 Huang Wen Hui : > >> Revert back r302324, Chinese locale problem is gone. >>

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-08 Thread Huang Wen Hui
For some reasons, r302324 seems not include in 11.0-ALPHA6? 2016-07-09 8:52 GMT+08:00 Huang Wen Hui : > Revert back r302324, Chinese locale problem is gone. > > Cheers > Huang Wen Hui > > 2016-07-05 16:50 GMT+08:00 Baptiste Daroussin : > >> On Tue, Jul 05,

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-08 Thread Huang Wen Hui
Revert back r302324, Chinese locale problem is gone. Cheers Huang Wen Hui 2016-07-05 16:50 GMT+08:00 Baptiste Daroussin : > On Tue, Jul 05, 2016 at 12:16:42PM +0800, Huang Wen Hui wrote: > > These 2 files can make ls suck: > > > > touch 火灾1 > > touch 火灾2 > > > > 2 files start

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-05 Thread Baptiste Daroussin
On Tue, Jul 05, 2016 at 12:16:42PM +0800, Huang Wen Hui wrote: > These 2 files can make ls suck: > > touch 火灾1 > touch 火灾2 > > 2 files start with 2 same Chinese chars. > I cannot reproduce on my head laptop, neither on a clean 11.0-ALPHA6 jail. I'll try on a clean 11.0-ALPHA6 VM Best regards,

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-04 Thread Huang Wen Hui
These 2 files can make ls suck: touch 火灾1 touch 火灾2 2 files start with 2 same Chinese chars. % lldb /bin/ls (lldb) target create "/bin/ls" Current executable set to '/bin/ls' (x86_64). (lldb) run Process 2185 launching Process 2185 launched: '/bin/ls' (x86_64) Enter Control+C: libc.so.7 was

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-04 Thread Baptiste Daroussin
On Mon, Jul 04, 2016 at 02:51:46PM +0800, Huang Wen Hui wrote: > 2016-07-04 14:41 GMT+08:00 Baptiste Daroussin : > > > On Mon, Jul 04, 2016 at 02:36:11PM +0800, Huang Wen Hui wrote: > > > 2016-07-04 14:20 GMT+08:00 Baptiste Daroussin : > > > > > > > On Mon, Jul

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-04 Thread Huang Wen Hui
2016-07-04 14:41 GMT+08:00 Baptiste Daroussin : > On Mon, Jul 04, 2016 at 02:36:11PM +0800, Huang Wen Hui wrote: > > 2016-07-04 14:20 GMT+08:00 Baptiste Daroussin : > > > > > On Mon, Jul 04, 2016 at 11:56:36AM +0800, Huang Wen Hui wrote: > > > > Hi, > > > > On

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-04 Thread Baptiste Daroussin
On Mon, Jul 04, 2016 at 02:36:11PM +0800, Huang Wen Hui wrote: > 2016-07-04 14:20 GMT+08:00 Baptiste Daroussin : > > > On Mon, Jul 04, 2016 at 11:56:36AM +0800, Huang Wen Hui wrote: > > > Hi, > > > On very recent CURRENT, ls can eat high CPU time when LANG=zh_CN.UTF-8 > > and >

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-04 Thread Huang Wen Hui
2016-07-04 14:20 GMT+08:00 Baptiste Daroussin : > On Mon, Jul 04, 2016 at 11:56:36AM +0800, Huang Wen Hui wrote: > > Hi, > > On very recent CURRENT, ls can eat high CPU time when LANG=zh_CN.UTF-8 > and > > LC_ALL=zh_CN.UTF-8: > > > > % uname -a > > FreeBSD mbp.gddsn.org.cn

Re: ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8

2016-07-04 Thread Baptiste Daroussin
On Mon, Jul 04, 2016 at 11:56:36AM +0800, Huang Wen Hui wrote: > Hi, > On very recent CURRENT, ls can eat high CPU time when LANG=zh_CN.UTF-8 and > LC_ALL=zh_CN.UTF-8: > > % uname -a > FreeBSD mbp.gddsn.org.cn 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #121 r302331M: Mon > Jul 4 10:47:27 CST 2016 >

Re: ls is broken for non-C locales due to libxo

2015-06-17 Thread Marcel Moolenaar
On Jun 16, 2015, at 9:53 PM, Andrey Chernov a...@freebsd.org wrote: Should be no any %FF, but single char in pre libxo ls or nothing in post libxo one. Use LANG=ru_RU.KOI8-R before touch command. It looks like you create file with name %FF instead. No difference: fbsdvm64% env

Re: ls is broken for non-C locales due to libxo

2015-06-17 Thread Marcel Moolenaar
On Jun 17, 2015, at 9:35 AM, Andrey Chernov a...@freebsd.org wrote: Signed PGP part On 17.06.2015 16:58, Marcel Moolenaar wrote: On Jun 16, 2015, at 9:53 PM, Andrey Chernov a...@freebsd.org wrote: Should be no any %FF, but single char in pre libxo ls or nothing in post libxo one.

Re: ls is broken for non-C locales due to libxo

2015-06-17 Thread Andrey Chernov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 17.06.2015 16:58, Marcel Moolenaar wrote: On Jun 16, 2015, at 9:53 PM, Andrey Chernov a...@freebsd.org wrote: Should be no any %FF, but single char in pre libxo ls or nothing in post libxo one. Use LANG=ru_RU.KOI8-R before touch

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Andrey Chernov
Marcel Moolenaar mar...@xcllnt.net пишет: On Jun 16, 2015, at 8:46 PM, Andrey Chernov a...@freebsd.org wrote: Signed PGP part On 17.06.2015 6:23, Marcel Moolenaar wrote: Date/time is fixed. I don?t know how to reproduce the filename problem, so make sure sources are up-to-date and if still a

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Andrey Chernov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 17.06.2015 6:23, Marcel Moolenaar wrote: Date/time is fixed. I don?t know how to reproduce the filename problem, so make sure sources are up-to-date and if still a problem, provide me with a way to reproduce. touch `printf \377` env

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Marcel Moolenaar
On Jun 16, 2015, at 8:46 PM, Andrey Chernov a...@freebsd.org wrote: Signed PGP part On 17.06.2015 6:23, Marcel Moolenaar wrote: Date/time is fixed. I don?t know how to reproduce the filename problem, so make sure sources are up-to-date and if still a problem, provide me with a way to

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Allan Jude
On 2015-06-16 23:23, Marcel Moolenaar wrote: On Jun 16, 2015, at 7:42 PM, Andrey Chernov a...@freebsd.org wrote: On 17.06.2015 5:18, Andrey Chernov wrote: Recent -current, LANG=ru_RU.KOI8-R locale. ls -t eats whole date column, just ls eats whole filenames with printable national

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Alexander Kabaev
On Wed, 17 Jun 2015 05:18:35 +0300 Andrey Chernov a...@freebsd.org wrote: Recent -current, LANG=ru_RU.KOI8-R locale. ls -t eats whole date column, just ls eats whole filenames with printable national characters inside. Long live libxo. ___

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Andrey Chernov
On 17.06.2015 5:18, Andrey Chernov wrote: Recent -current, LANG=ru_RU.KOI8-R locale. ls -t eats whole date column, just ls eats whole filenames with printable national characters inside. Long live libxo. I mean ls -l. To be precise, for 8bit non-C locales at least: ls -lt: skip date column

Re: ls is broken for non-C locales due to libxo

2015-06-16 Thread Marcel Moolenaar
On Jun 16, 2015, at 7:42 PM, Andrey Chernov a...@freebsd.org wrote: On 17.06.2015 5:18, Andrey Chernov wrote: Recent -current, LANG=ru_RU.KOI8-R locale. ls -t eats whole date column, just ls eats whole filenames with printable national characters inside. Long live libxo. I mean ls

Re: ls -c / ls -u doesn't work anymore

2003-10-05 Thread Jan Stocker
Newest world/kernel same prob [EMAIL PROTECTED]:~ # mkdir x [EMAIL PROTECTED]:~ # cd x [EMAIL PROTECTED]:~/x # touch b-first; sleep 60 [EMAIL PROTECTED]:~/x # touch c-second; sleep 60 [EMAIL PROTECTED]:~/x # touch a-third [EMAIL PROTECTED]:~/x # ls -l -c total 0 -rw-r--r-- 1 jstocker

Re: ls -c / ls -u doesn't work anymore

2003-10-05 Thread Bruce Evans
On Sun, 5 Oct 2003, Jan Stocker wrote: Newest world/kernel same prob [EMAIL PROTECTED]:~ # mkdir x [EMAIL PROTECTED]:~ # cd x [EMAIL PROTECTED]:~/x # touch b-first; sleep 60 [EMAIL PROTECTED]:~/x # touch c-second; sleep 60 [EMAIL PROTECTED]:~/x # touch a-third [EMAIL PROTECTED]:~/x #

Re: ls -c / ls -u doesn't work anymore

2003-10-05 Thread Jan Stocker
On Sun, 2003-10-05 at 12:11, Bruce Evans wrote: On Sun, 5 Oct 2003, Jan Stocker wrote: Newest world/kernel same prob [EMAIL PROTECTED]:~ # mkdir x [EMAIL PROTECTED]:~ # cd x [EMAIL PROTECTED]:~/x # touch b-first; sleep 60 [EMAIL PROTECTED]:~/x # touch c-second; sleep 60 [EMAIL

Re: ls -c / ls -u doesn't work anymore

2003-10-04 Thread Shane Kinney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I could be wrong, but mine seems to work fine with: FreeBSD kappa.freebsdhackers.net 5.1-CURRENT FreeBSD 5.1-CURRENT #19: Wed Oct 1 15:08:00 CDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KAPPA i386 Try re-building world. Hope that helps.

Re: ls

2000-06-08 Thread Satoshi - Ports Wraith - Asami
* From: Maxim Sobolev [EMAIL PROTECTED] * Probably it would be nice if colorls from the ports will be * synchronized with one in /usr/src, so users of 4.0 and downward * could benefit from your efforts as well. I was going to do exactly that. (I was waiting for Andrey to finish.) Satoshi

Re: ls

2000-06-06 Thread Andrey A. Chernov
On Tue, Jun 06, 2000 at 05:07:59PM +0300, Maxim Sobolev wrote: There is colorls-related PR 18616 (http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18616). Please take a look at it and close if it is mandatory or merge if not. Our system color-'ls' already don't have this bug. Know nothing about

Re: ls

2000-06-06 Thread Maxim Sobolev
"Andrey A. Chernov" wrote: On Tue, Jun 06, 2000 at 05:07:59PM +0300, Maxim Sobolev wrote: There is colorls-related PR 18616 (http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18616). Please take a look at it and close if it is mandatory or merge if not. Our system color-'ls' already don't have