freebsd-dev/sbin/devd
Alan Somers 2c6254c287 Fix an intermittent bug in sbin/devd/client_test.stream
In case where the two events were being received in separate reads, the
event buffer was being null-terminated at the wrong offset.

Also, factored out some common code between the tests, and fixed a comment.

Submitted by:	will
MFC after:	3 days
Sponsored by:	Spectra Logic Corp
2016-04-11 22:14:29 +00:00
..
tests Fix an intermittent bug in sbin/devd/client_test.stream 2016-04-11 22:14:29 +00:00
devd.8 Convert devd's client socket to type SOCK_SEQPACKET. 2014-08-14 22:33:56 +00:00
devd.cc Add a timestamp variable to the environment. This is when the event 2016-04-03 20:29:21 +00:00
devd.conf.5 Add a timestamp variable to the environment. This is when the event 2016-04-03 20:29:21 +00:00
devd.h According to devctl(4), clients must read events whole; they may not 2013-04-26 19:49:37 +00:00
devd.hh devd: Remove unnecessary empty default constructors. 2013-03-04 02:21:24 +00:00
Makefile Convert sbin/ to LIBADD 2014-11-25 11:23:12 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
parse.y Fix world after byacc import: 2012-05-22 16:33:10 +00:00
token.l Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00