ngie 873e27fb07 MFC r292816,r292818,r292819:
r292816:

Place cancel and error under #ifdef DEBUG to mute
-Wunused-but-set-variable warnings reported by gcc 4.9

Remove some trailing whitespace as well

Tested with and without -DDEBUG

r292818:

Fix style(9) a bit and ensure that error from initializing kqueue(2) is
sane

- Push the kqueue(2) initialization down so the errno will correspond with
  the failure instead of potentially being stomped on by functions called
  by `PLAIN_REQUIRE_KERNEL_MODULE`
- Delete trailing whitespace
- Add spaces between braces for conditional and control blocks (for/if)
- Use err/errx instead of perror+printf+exit/printf+exit.
- Remove braces for single-line conditionals

Tested with and without -DDEBUG

r292819:

- Fix an improperly sized buffer for `pathname` [1]
- Fix a -Wunused-but-set-variable warning [2]
2016-01-04 07:02:48 +00:00
..
2015-11-16 00:37:00 +00:00
2016-01-04 07:02:48 +00:00
2015-08-11 01:51:38 +00:00
2015-12-29 01:08:07 +00:00
2015-12-04 19:14:14 +00:00
2015-05-13 10:21:13 +00:00
2014-12-31 23:25:37 +00:00
2015-12-04 18:59:20 +00:00
2015-11-09 07:49:39 +00:00
2015-10-26 03:37:01 +00:00
2015-10-01 22:19:41 +00:00
2015-12-04 18:14:31 +00:00