Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/modules/lua
Hi Alexander,
On Sat, Jul 19, 2014 at 4:15 PM, Alexander Nasonov <alnsn%yandex.ru@localhost>
wrote:
> Lourival Pereira Vieira Neto wrote:
>> ...
>> Index: src/sys/modules/lua/stdlib.h
>> diff -u src/sys/modules/lua/stdlib.h:1.1 src/sys/modules/lua/stdlib.h:1.2
>> --- src/sys/modules/lua/stdlib.h:1.1 Wed Oct 16 19:44:57 2013
>> +++ src/sys/modules/lua/stdlib.h Sat Jul 19 17:10:02 2014
>> @@ -1,7 +1,7 @@
>> /* $NetBSD */
>>
>> /*
>> - * Copyright (c) 2011, Lourival Neto <lneto%NetBSD.org@localhost>.
>> + * Copyright (c) 2011-2014, Lourival Neto <lneto%NetBSD.org@localhost>.
>> * All rights reserved.
>> *
>> * Redistribution and use in source and binary forms, with or without
>> @@ -36,11 +36,8 @@
>> #include <sys/param.h>
>> #include <sys/kmem.h>
>>
>> -#ifndef _LUA_INCLUDE_STDLIB
>> -#define _LUA_INCLUDE_STDLIB
>> -
>> -#define realloc(ptr, nsize) kmem_alloc(nsize, KM_SLEEP)
>> -#define free(ptr) kmem_free(ptr, osize)
>> +#ifndef _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
Home |
Main Index |
Thread Index |
Old Index