Re: rawsock on windows
Sam Steingold <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
> * Daniel Jour <[email protected]> [2016-09-02 00:33:01 +0200]: > >> all you need to do is "#include <netdb.h>" unconditionally. >> http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00338.html > > Hm, I think I was a bit unclear about the issue that I have in > mind. Sure we can unconditionally include netdb.h. But we also have no > way to check whether the functions it declares are actually > available. gnulib doesn't (AFAIK) define (e.g.) HAVE_SETNETENT either, > even if it provides a replacement. > > Thus we'd get completely unfunctional RAWSOCK:NETWORK and > RAWSOCK:PROTOCOL functions, which is IMO worse than not binding > functions to these symbols at all. (The later can and is tested with > BOUNDP already) > > Or am I missing something here? If gnulib provides the functions, I expect them to do something useful. If they are just stubs returning NIL or raising exception on all inputs, I think you should report that as a bug to gnulib. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1404 http://www.childpsy.net/ http://truepeace.org http://americancensorship.org http://www.memritv.org http://openvotingconsortium.org If it has syntax, it isn't user friendly. ------------------------------------------------------------------------------ _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel