[gentoo-user] gawk and filefuncs

2010-09-03 Thread Al
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

Re: [gentoo-user] gawk and filefuncs

2010-09-03 Thread Etaoin Shrdlu
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

Re: [gentoo-user] gawk and filefuncs

2010-09-03 Thread Al
> > 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

Re: [gentoo-user] gawk and filefuncs

2010-09-03 Thread Al
> 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

Re: [gentoo-user] gawk and filefuncs

2010-09-04 Thread Etaoin Shrdlu
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

Re: [gentoo-user] gawk and filefuncs

2010-09-04 Thread Al
>> 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