41119c8725
- Randomize the bind port to allow 2+ consecutive calls in < 10 minutes, and to also not fail if (for instance) there's a server already listening on port 8080 - Don't leak the listening socket / fds into the child process - Fix warnings: -- Remove argc/argv (-Wunused) -- Mark sig __unused (-Wunused) -- Mark quit static (-Wmissing-variable-declarations) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
10 lines
77 B
Makefile
10 lines
77 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PROG= accept_fd_leak
|
|
MAN=
|
|
WARNS?= 6
|
|
|
|
.include <bsd.prog.mk>
|