Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/poll-tests @ 10466:1783808b8d00
add sockets wrappers
2008-09-23 Paolo Bonzini <bonzini@gnu.org>
* lib/sys_socket.in.h: Do not implement rpl_setsockopt here,
instead define prototypes for a full set of wrappers. Ensure
that Cygwin does not use the compatibility code, which is only
for MinGW.
* lib/winsock.c: New.
* m4/sys_socket_h.m4: Compile lib/winsock.c if WinSock is being used.
* modules/sys_socket: Add lib/winsock.c.
* modules/poll-tests: Add errno and perror.
* tests/test-poll.c: Use ioctl, not ioctlsocket.
author | Paolo Bonzini <bonzini@gnu.org> |
---|---|
date | Fri, 12 Sep 2008 08:43:03 +0200 |
parents | ab772691412e |
children | b7e56ec1bd65 |
rev | line source |
---|---|
10419
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
1 Files: |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
2 tests/test-poll.c |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
3 |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
4 Depends-on: |
10420
ffae1ac7e958
port poll tests to Windows
Paolo Bonzini <bonzini@gnu.org>
parents:
10419
diff
changeset
|
5 stdbool |
10419
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
6 sys_socket |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
7 netinet_in |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
8 arpa_inet |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
9 extensions |
10420
ffae1ac7e958
port poll tests to Windows
Paolo Bonzini <bonzini@gnu.org>
parents:
10419
diff
changeset
|
10 inet_pton |
10466 | 11 errno |
12 perror | |
10420
ffae1ac7e958
port poll tests to Windows
Paolo Bonzini <bonzini@gnu.org>
parents:
10419
diff
changeset
|
13 sockets |
10419
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
14 |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
15 configure.ac: |
10421
ab772691412e
fix test-poll compilation failure on Cygwin
Paolo Bonzini <bonzini@gnu.org>
parents:
10420
diff
changeset
|
16 AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) |
10419
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
17 |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
18 Makefile.am: |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
19 TESTS += test-poll |
bbceefd03520
add a minimal testsuite for the poll module
Paolo Bonzini <bonzini@gnu.org>
parents:
diff
changeset
|
20 check_PROGRAMS += test-poll |