Fix a race by always modifying the 'counter' variable while holding themutex.ok tedu@
hint: compile before commit
replace setbuf with setvbuf, from Frederic Nowak
zap trailing newlines; "go for it" deraadt
fix regression test, from art
-Wall cleanup.
kill bad functions; some sort of ok from marc who is trying to confuse me
various cleanups; david says results are same
Enable test for proper inheritance of NONBLOCK flag on accept.The test will fail -- a reminder that I still need to fix this.
add socket test to check blocking/non-blocking mode on accept.Enable test in makefile
comment where code is used
Rename a bunch of the old bsd.regress.mk variables into the new ones.ok art@
no more need to explicitly specify regress: _SUBDIRUSE targets anymore.XXX - what about the install targets?
Make this into a dummy regress test.
depend regress: on PROG (this whole Makefile is ugly)
convert everything to bsd.regress.mk
Be sure both programs are using the same port.
per man page and gcc 3.0.1, exit requires prototype from stdlib.h
Regression tests for libc_r (pthreads) library.Thanks to pval@ for resolving the license stuff.