Re: CVS commit: src/sys

2014-07-21 Thread Lourival Vieira Neto
this is the case of reverting (especially, before trying to understand what is being done). Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2014-07-20 Thread Lourival Vieira Neto
On Sun, Jul 20, 2014 at 5:14 AM, Alan Barrett a...@cequrux.com wrote: On Sat, 19 Jul 2014, Lourival Vieira Neto wrote: Also, if this doesn't get reverted for being rushed, then please import it on a vendor branch as per the usual practice. Did you mean moving it from -current to a specific

Re: CVS commit: src

2014-07-20 Thread Lourival Vieira Neto
for the inconvenience. Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2014-07-20 Thread Lourival Vieira Neto
Vieira Neto

Re: CVS commit: src/sys/modules/lua

2014-07-19 Thread Lourival Vieira Neto
_LUA_INCLUDE_STDLIB_ +#define _LUA_INCLUDE_STDLIB_ #define exit(EXIT_FAILURE) return Infamous hack is still in the tree. You can always provide a better hack. Regards, -- Lourival Vieira Neto

Re: CVS commit: src/sys

2014-07-19 Thread Lourival Vieira Neto
formulate these questions and help to improve this work. Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2014-07-19 Thread Lourival Vieira Neto
signal.h stdarg.h stddef.h stdio.h stdlib.h string.h Log Message: lua: updated from 5.1 to 5.3 work3 That's not how we update 3rd-party code in the tree. We use cvs import and resolve conflicts afterwards. Are there some guide or policy available? Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2014-07-19 Thread Lourival Vieira Neto
, if this doesn't get reverted for being rushed, then please import it on a vendor branch as per the usual practice. Did you mean moving it from -current to a specific branch? Regards, -- Lourival Vieira Neto

Re: CVS commit: src/sys

2014-07-19 Thread Lourival Vieira Neto
On Sat, Jul 19, 2014 at 5:45 PM, Alexander Nasonov al...@yandex.ru wrote: Lourival Vieira Neto wrote: Hi Alexander, On Sat, Jul 19, 2014 at 4:39 PM, Alexander Nasonov al...@yandex.ru wrote: ... What if GC kicks-in in softintr? It will call kmem_intr_free(9). How many times? It depends

Re: CVS commit: src/sys

2014-07-19 Thread Lourival Vieira Neto
On Sat, Jul 19, 2014 at 6:34 PM, Alexander Nasonov al...@yandex.ru wrote: Lourival Vieira Neto wrote: On Sat, Jul 19, 2014 at 5:45 PM, Alexander Nasonov al...@yandex.ru wrote: What if GC kicks-in in softintr? It will call kmem_intr_free(9). How many times? It depends on your script

Re: CVS commit: src/sys/sys

2014-07-17 Thread Lourival Vieira Neto
, int); Wouldn't be '((void)0)' better? Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2013-12-04 Thread Lourival Vieira Neto
, INTMAX_MAX); uint64_t x = (uint64_t) lua_tonumber(L, -1); Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2013-12-04 Thread Lourival Vieira Neto
On Wed, Dec 4, 2013 at 6:36 PM, Alexander Nasonov al...@yandex.ru wrote: Lourival Vieira Neto wrote: On Tue, Dec 3, 2013 at 9:26 PM, Alexander Nasonov al...@yandex.ru wrote: Do you have a test to prove that 'return 2^3' doesn't break in the kernel? Yes; you can just load the script you've

Re: CVS commit: src

2013-12-04 Thread Lourival Vieira Neto
On Wed, Dec 4, 2013 at 7:53 PM, Alexander Nasonov al...@yandex.ru wrote: Lourival Vieira Neto wrote: Are you aware that we have already changed the language number type? Thus, we have already changed the language itself? If you insist, we can call that Lua', kernel Lua, or whatever you like

Re: CVS commit: src

2013-12-03 Thread Lourival Vieira Neto
Hi Martin, On Tue, Dec 3, 2013 at 6:26 AM, Martin Husemann mar...@duskware.de wrote: On Mon, Dec 02, 2013 at 10:33:05PM -0200, Lourival Vieira Neto wrote: I also have no problem to step back and use 'long long', if _we_ choose to reconsider that. IMHO, the fact that Lua 5.3 is using 'long

Re: CVS commit: src

2013-12-03 Thread Lourival Vieira Neto
Hi Valery, On Tue, Dec 3, 2013 at 11:58 AM, Valery Ushakov u...@stderr.spb.ru wrote: On Tue, Dec 03, 2013 at 11:45:15 -0200, Lourival Vieira Neto wrote: Also, moving to intmax_t, would help in string library. It needs a length modifier for string.format (LUA_INTFRMLEN). AFAIK

Re: CVS commit: src

2013-12-03 Thread Lourival Vieira Neto
Hi Justin, On Tue, Dec 3, 2013 at 8:04 PM, Justin Cormack jus...@specialbusservice.com wrote: On 3 Dec 2013 16:02, Christos Zoulas chris...@zoulas.com wrote: On Dec 3, 11:45am, ln...@netbsd.org (Lourival Vieira Neto) wrote: -- Subject: Re: CVS commit: src | Also, moving to intmax_t, would

Re: CVS commit: src

2013-12-03 Thread Lourival Vieira Neto
On Tue, Dec 3, 2013 at 8:15 PM, Lourival Vieira Neto ln...@netbsd.org wrote: Hi Justin, On Tue, Dec 3, 2013 at 8:04 PM, Justin Cormack jus...@specialbusservice.com wrote: On 3 Dec 2013 16:02, Christos Zoulas chris...@zoulas.com wrote: On Dec 3, 11:45am, ln...@netbsd.org (Lourival Vieira

Re: CVS commit: src

2013-12-03 Thread Lourival Vieira Neto
On Tue, Dec 3, 2013 at 9:26 PM, Alexander Nasonov al...@yandex.ru wrote: Lourival Vieira Neto wrote: I wasn't in that thread at that time. However, I'll carefully read it. If you haven't done so yet, it's a good idea to subscribe to source-changes-d@. Yes, I subscribed already =). I just

Re: CVS commit: src

2013-12-02 Thread Lourival Vieira Neto
preferred to see two separate commits. Even with only one commit, the log message should have described both changes. Sorry for that. I posted the patch on tech-kern, and I thought that it was OK for single committing. Next time I'll separate it better. Regards, -- Lourival Vieira Neto

Re: CVS commit: src/common/lib/libc/stdlib

2013-12-02 Thread Lourival Vieira Neto
Module Name:src Committed By: joerg Date: Mon Dec 2 12:20:44 UTC 2013 Modified Files: src/common/lib/libc/stdlib: strtoimax.c Log Message: Fix aliases. Sorry about that.. my bad! Regards, -- Lourival Vieira Neto

Re: CVS commit: src

2013-12-02 Thread Lourival Vieira Neto
Hi Alexander, On Mon, Dec 2, 2013 at 8:38 PM, Alexander Nasonov al...@yandex.ru wrote: Lourival Vieira Neto wrote: Yes, it isn't. But, please note, I didn't change that now. I just merged it in one single file. Though I think we need implement integer exponentiation, I think