> From: [email protected] (Ludovic Courtès) > Cc: Mark H Weaver <[email protected]>, [email protected] > Date: Wed, 02 Jul 2014 11:59:26 +0200 > > Eli Zaretskii <[email protected]> skribis: > > > I'd like to add emulations of a couple of Posix functions to make a > > few Guile procedures available on Windows. Specifically, getaffinity, > > setaffinity, getpriority, and setpriority can work on Windows, once > > the emulations of the corresponding C APIs are written, which isn't > > hard. > > The usual answer to this would be Gnulib. Is this again a case where > that seems difficult, because the process-related code is a > prerequisite?
No, these are unrelated to the Gnulib process-related code. They are stand-alone functions. > We must really try hard to push such things into Gnulib. I agree, in theory. In practice, it's harder than I'd expect. E.g., the patches I sent for nl_langinfo, an existing Gnulib module, were left without a single comment for the last 4 weeks. The only conclusion I can draw from this and similar experiences is that the Gnulib maintainers are not really interested in improving support for Windows, even if someone else writes and tests the code. On top of that, there are no Gnulib modules for the above-mentioned functionality. Creating a Gnulib module from scratch is a lot of effort for me and a lot of overhead (write Autoconf macros, documentation, testing on other platforms, to which I have no easy access, etc.). So I guess these will remain my local changes, sigh.
