Can anybody explain the Gentoo handling of filefuncs in the gawk package?
Why isn't a simple patch used like in all other cases?
Al
On Fri, 3 Sep 2010 22:31:01 +0200 Al wrote:
> Can anybody explain the Gentoo handling of filefuncs in the gawk package?
>
> Why isn't a simple patch used like in all other cases?
gawk provides dynamic extension modules. This is explained here:
http://www.gnu.org/manual/gawk/gawk.html#Dynamic-E
>
> The gawk source distribution comes with a number of such extensions in the
> (doh) extensions/ directory. filefuncs.c is such one extension, which
> demonstrate how to add stat() and chdir() capabilities to awk.
> The file is compiled into a .so file, which is then referenced from within
> gawk
> I have a second issue. When compiling gawk on Cygwin, where is no
> windows kernel, the Gentoo version of filefuncs breaks. I have to
Sure there is a windows kernel. The linux kernel is missing.
Al
On Sat, 4 Sep 2010 00:25:32 +0200 Al wrote:
> Thank you very much. That is the best explanation a read to this. It
> should be deliverd with the sources.
>
> Still the procedure is unusual. They could apply a patch to
> extensions/ filefuncs.c and exclude it for vanilla.
Since it's critical for
>> You say it is mandatory on a Gentoo system, because there are awk
>> scripts that rely on. Do this functions break because of the missing
>> kernel? What would be the workaround?
>
> How are you building it? It needs special commands because it needs to
> become a shared object, not an executabl
6 matches
Mail list logo