Re: login.conf --> UTF-8

2014-04-04 Thread Andrey Chernov
Few explanations to clarify maybe non-obvious moments: On 05.04.2014 7:35, Andrey Chernov wrote: >>> big hack and slowing sorting down up to 10 times. Because our search for chains is linear because common single byte table have no more than 2-3 chains. I don't think it worth efforts to optimize

Re: login.conf --> UTF-8

2014-04-04 Thread Andrey Chernov
On 05.04.2014 5:35, Andrey Chernov wrote: > Even his "version 2" have my objections. I already reply Alex about this > in 2008. In short: > 1) It is error there: almost all single chars above ASCII should be > "chains", i.t. two bytes minimum ... I check my whole correspondence with Alexey and wit

Re: login.conf --> UTF-8

2014-04-04 Thread Andrey Chernov
On 05.04.2014 6:39, Sean Bruno wrote: > On Sat, 2014-04-05 at 05:35 +0400, Andrey Chernov wrote: >> On 04.04.2014 16:46, Gleb Smirnoff wrote: >>> On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: >>> A> On 02.04.2014 21:15, Gleb Smirnoff wrote: >>> A> > S> + :lang=en_US.UTF-8:\ >>>

Re: login.conf --> UTF-8

2014-04-04 Thread Sean Bruno
On Sat, 2014-04-05 at 05:35 +0400, Andrey Chernov wrote: > On 04.04.2014 16:46, Gleb Smirnoff wrote: > > On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: > > A> On 02.04.2014 21:15, Gleb Smirnoff wrote: > > A> > S> + :lang=en_US.UTF-8:\ > > A> > S> + :charset=UTF-8: > > A> > > >

Re: login.conf --> UTF-8

2014-04-04 Thread Andrey Chernov
On 04.04.2014 16:46, Gleb Smirnoff wrote: > On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: > A> On 02.04.2014 21:15, Gleb Smirnoff wrote: > A> > S> + :lang=en_US.UTF-8:\ > A> > S> + :charset=UTF-8: > A> > > A> > And I'd like to do same change for the 'russian' login class

Re: Build failure due to block_abi.h

2014-04-04 Thread Marcel Moolenaar
On Apr 4, 2014, at 4:13 PM, David Chisnall wrote: > It turns out that tomorrow happened 12 minutes after this email... > > The attached diff lets it build with -Werror for me with FreeBSD clang and > gcc (with -fblocks and -fno-blocks) and with ports gcc 4.7.3 and doesn't > clutter the code.

Re: Build failure due to block_abi.h

2014-04-04 Thread David Chisnall
It turns out that tomorrow happened 12 minutes after this email... The attached diff lets it build with -Werror for me with FreeBSD clang and gcc (with -fblocks and -fno-blocks) and with ports gcc 4.7.3 and doesn't clutter the code. Please can you test it with Juniper's gcc? David Index: stdl

Re: Build failure due to block_abi.h

2014-04-04 Thread David Chisnall
Hi Marcel, This error is a warning for me with gcc 4.7.3 when I try. With 4.2.1 in the tree, it appears to be silenced by something (or possibly we're using the native blocks code path with gcc and clang doesn't emit that warning in non-blocks mode). We could pull out the structure definition

Build failure due to block_abi.h

2014-04-04 Thread Marcel Moolenaar
David, The definition of DECLARE_BLOCK seems to trip over GCC 4.2.1 here at Juniper. This is how we run the compiler: /volume/fwtools/gcc/jnpr/4.2.1/amd64-juniper-junos.5/bin/amd64-juniper-junos-gcc -O2 -pipe -I/b/marcelm/fbsd-head/src/lib/libc/include -I/b/marcelm/fbsd-head/src/lib/libc/../

Re: login.conf --> UTF-8

2014-04-04 Thread Sean Bruno
On Fri, 2014-04-04 at 16:46 +0400, Gleb Smirnoff wrote: > On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: > A> On 02.04.2014 21:15, Gleb Smirnoff wrote: > A> > S> + :lang=en_US.UTF-8:\ > A> > S> + :charset=UTF-8: > A> > > A> > And I'd like to do same change for the 'russian

Re: login.conf --> UTF-8

2014-04-04 Thread Gleb Smirnoff
On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: A> On 02.04.2014 21:15, Gleb Smirnoff wrote: A> > S> + :lang=en_US.UTF-8:\ A> > S> + :charset=UTF-8: A> > A> > And I'd like to do same change for the 'russian' login class A> > in /etc/login.conf. A> A> Please everybody r

Re: Re: another Make (maybe) problem

2014-04-04 Thread Robert Huff
On 4/4/2014 4:05 AM, Oliver Pinter wrote: Is there any change in src.conf? There is no src.conf. (See original post.) Robert Huff ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mail

Re: kevent has bug?

2014-04-04 Thread Konstantin Belousov
On Fri, Apr 04, 2014 at 07:55:05AM +0900, Kohji Okuno wrote: > Hi, > > Thank you for your detailed commnet. And I uderstood about your opinion. > By the way, do you commit your change to HEAD? Sure I will, I am waiting for possible last comment from John-Mark. Unless he provides more feedback, I

Re: another Make (maybe) problem

2014-04-04 Thread Oliver Pinter
On 4/3/14, Robert Huff wrote: > Warner Losh writes > >> > Can you prune down your make.conf to find the minimal line(s) that >> > cause this? >> >> Yes, but each run will take about three hours >> >> Starting with an empty make.conf, > > Empty make.conf = same result. >