Re: /bin/ls formatting broken for non-C(?) locales

2015-11-24 Thread Andrey Chernov
On 25.11.2015 4:31, Andrey Chernov wrote: > 4) The whole processing looks overcomplicated and not effective. What > about this instead? > for (i = 0; i < 12; i++) { > count wcswidth() of each month and store it in wab_months_width[]. > count max_width_month. > } > for (i = 0; i < 12; i++) {

Re: /bin/ls formatting broken for non-C(?) locales

2015-11-24 Thread Andrey Chernov
On 25.11.2015 3:15, Baptiste Daroussin wrote: > On Sat, Nov 21, 2015 at 11:57:46PM +0300, Andrey Chernov wrote: >> On 21.11.2015 15:18, Ed Schouten wrote: >>> Hi Baptiste, >>> >>> I suppose you should use the wcswidth() function somewhere to compute >>> the visible width of the month name. Some cha

Re: /bin/ls formatting broken for non-C(?) locales

2015-11-24 Thread Baptiste Daroussin
On Wed, Nov 25, 2015 at 01:15:13AM +0100, Baptiste Daroussin wrote: > On Sat, Nov 21, 2015 at 11:57:46PM +0300, Andrey Chernov wrote: > > On 21.11.2015 15:18, Ed Schouten wrote: > > > Hi Baptiste, > > > > > > I suppose you should use the wcswidth() function somewhere to compute > > > the visible w

Re: Aheros AR9565: buffer error messages from ath_edma_rxbuf_alloc and ath_edma_rxfifo_alloc

2015-11-24 Thread Adrian Chadd
Hm, what's in your kenrel config file? Is ENABLE_11N or whatever the ath driver option there? sysctl dev.ath.0.txagg=1 ; then check dmesg and output me the results. Thanks! -a On 24 November 2015 at 14:50, José Pérez wrote: > Dear Svatopluk, > tried again with current, and I get (almost) the

Re: /bin/ls formatting broken for non-C(?) locales

2015-11-24 Thread Baptiste Daroussin
On Sat, Nov 21, 2015 at 11:57:46PM +0300, Andrey Chernov wrote: > On 21.11.2015 15:18, Ed Schouten wrote: > > Hi Baptiste, > > > > I suppose you should use the wcswidth() function somewhere to compute > > the visible width of the month name. Some characters may be > > double-width, others may have

Re: Aheros AR9565: buffer error messages from ath_edma_rxbuf_alloc and ath_edma_rxfifo_alloc

2015-11-24 Thread José Pérez
Dear Svatopluk, tried again with current, and I get (almost) the same: Nov 23 18:14:47 current kernel: ath0: ath_edma_rxbuf_alloc: nothing on rxbuf?! Nov 23 18:14:47 current kernel: ath0: ath_edma_rxfifo_alloc: Q1: alloc failed: i=0, nbufs=128? Nov 23 18:14:47 current kernel: ath0: ath_edma_rxbu

Re: OpenSSH HPN

2015-11-24 Thread Aaron Zauner
Hi, Please forgive my ignorance but what's the reason FreeBSD ships OpenSSH patched with HPN by default? Besides my passion for security, I've been working in the HPC sector for a while and benchmarked the patch for a customer about 1.5 years ago. The CTR-multi threading patch is actually *slower*

Re: freebsd-current compile with clang & ccache

2015-11-24 Thread Jeffrey Bouquet
On Tue, 24 Nov 2015 10:31:37 +0100, M&S - Krasznai András wrote: > Good morning! > > I experience the following errors: > > > after setting up ccache according to the howto I tried to compile world and > kernel. > > > > make buildworld > > > > runs correctly, takes appr. 3 hours to f

Re: freebsd-current compile with clang & ccache [tacking on an idea]

2015-11-24 Thread Jeffrey Bouquet
On Tue, 24 Nov 2015 10:31:37 +0100, M&S - Krasznai András wrote: > Good morning! > > I experience the following errors: > > > after setting up ccache according to the howto I tried to compile world and > kernel. > > > > make buildworld > > > > runs correctly, takes appr. 3 hours to f

freebsd-current compile with clang & ccache

2015-11-24 Thread M&S - Krasznai András
Good morning! I experience the following errors: after setting up ccache according to the howto I tried to compile world and kernel. make buildworld runs correctly, takes appr. 3 hours to finish for the first run. Repeating it finishes in a little less than 1 hour. Make -j5 buildworld