Commit Graph

221665 Commits

Author SHA1 Message Date
christos
cae86aa949 - remove unused variables
- add debug ifdefs for debugging variables
- __USE() where appropriate.
2013-10-17 21:01:08 +00:00
christos
148f2a4a9b __USE() unused variables 2013-10-17 20:59:16 +00:00
christos
b56b5d923d __USE a debugging variable 2013-10-17 20:58:55 +00:00
christos
5ca5370483 remove unused variable, and move variable used only by XEN in the XEN ifdef. 2013-10-17 20:57:58 +00:00
christos
951530b23a initialize a variable, hi gcc again! 2013-10-17 20:57:06 +00:00
christos
9263de029f remove unused code from macro 2013-10-17 20:56:02 +00:00
christos
641eff3991 remove unused code. 2013-10-17 20:55:30 +00:00
christos
289bc9f713 move module code inside module ifdef 2013-10-17 20:54:24 +00:00
wiz
d19876761f Remove trailing whitespace. 2013-10-17 20:43:49 +00:00
jnemeth
20362f9ef2 - DPRINTF(("val is %d\n", val)); -> DPRINTF(("val is %d\n", var));
- mdoclint:
  - .Nd should not end with period
  - remove trailing spaces
2013-10-17 19:37:56 +00:00
kefren
f86d4fa943 allow setting transport addresses for interfaces into config file
also move passive-interface functionality under interface block
report the correct line for config parsing errors
2013-10-17 18:10:23 +00:00
njoly
4a806b5236 Regen for mknodat(2) device argument type change. 2013-10-17 18:04:40 +00:00
njoly
349036b521 Change mknodat(2) device argument type from uint32_t to dev_t.
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.
2013-10-17 18:01:11 +00:00
christos
4d024dddcc Our <sys/param.h> ends up calling header files that define intmax_t. This
should not be the case (but >sys/param.h> is not a standard header so all bets
are off). FreeBSD's does not, so explicitly include <stdint.h> to get it.
2013-10-17 17:22:59 +00:00
christos
706d1420d4 add __USE 2013-10-17 16:52:02 +00:00
christos
739aabb0b4 add non-portability caveat. 2013-10-17 16:50:48 +00:00
christos
eb78d644f3 describe the __USE macro 2013-10-17 16:50:36 +00:00
gson
6060a7c9d9 Don't capitalize "it" in the middle of a sentence. 2013-10-17 13:17:50 +00:00
christos
11fdff5426 CID 1107548: resource leak 2013-10-17 12:53:28 +00:00
christos
73a690f0f7 CID 1107550: resource leak 2013-10-17 12:52:09 +00:00
wiz
ff37728867 Still more markup. Sort. 2013-10-17 09:44:22 +00:00
mbalmer
0e6ee7d369 there is no assign command 2013-10-17 09:33:40 +00:00
wiz
120c3e92eb More markup, typo fixes, update date and NetBSD version for import. 2013-10-17 08:21:03 +00:00
mbalmer
0dfc484ad7 fold long line in a readable way; pass nil as query table if reading form data fails 2013-10-17 08:07:54 +00:00
mbalmer
b972118e3e better approach to NUL terminate strings 2013-10-17 07:54:19 +00:00
mbalmer
a6427458c1 plug a memory leak 2013-10-17 07:49:06 +00:00
mbalmer
de3f2be777 zero allocated memory buffers 2013-10-17 07:31:31 +00:00
elad
7fc0f2c504 Readd myself. 2013-10-17 02:58:56 +00:00
alnsn
e20531c13e Use "%s" to panic. 2013-10-16 21:55:56 +00:00
roy
2e2213ef89 Add TABSIZE, which is derived from terminfo init_tabs.
Use this when processing \t.
If TABSIZE is set in the environment, this takes precedence.
2013-10-16 19:59:29 +00:00
mbalmer
d0767a360b luactl(8) is a command to control lua(4) 2013-10-16 19:48:21 +00:00
mbalmer
e9ea606005 core module for lua(4) 2013-10-16 19:47:19 +00:00
mbalmer
58881ebfcd welcome lua(4), a devide driver that can create and control Lua states inside the kernel 2013-10-16 19:44:57 +00:00
mbalmer
1cdf24d00e header file needed for lua(4) 2013-10-16 19:40:45 +00:00
christos
079ec927b9 use __USE() 2013-10-16 19:32:30 +00:00
christos
1c439ded8d introduce __USE(variable) that uses a variable to squash unused variable
warnings.
2013-10-16 19:31:43 +00:00
christos
6c759efc9f fix incorrect variable use.
remove unused variable
2013-10-16 18:55:31 +00:00
christos
02d585e944 remove unused variable 2013-10-16 18:23:39 +00:00
christos
f4ea80ed27 remove unused variables. 2013-10-16 18:20:16 +00:00
christos
389569be36 use variables that are only used in debugging. 2013-10-16 18:18:54 +00:00
christos
23c9dab085 move debugging code inside debugging ifdef. 2013-10-16 18:13:00 +00:00
christos
054991dfea remove unused 2013-10-16 18:07:56 +00:00
christos
2f6d5191bb move all the unused stuff to ifdef notyet 2013-10-16 17:43:33 +00:00
christos
5db9fd6992 add missing ifdefs 2013-10-16 17:40:55 +00:00
christos
62d51ff27c - use proper types (uint16_t instead of uint32_t)
- don't index past the end of arrays
- use __arraycount() consistently instead of manual cruft.
- remove useless cast
2013-10-16 17:39:09 +00:00
christos
83c3d19b88 print a warning if we failed. 2013-10-16 17:31:28 +00:00
christos
5d72dee0e3 remove unused variable 2013-10-16 17:30:42 +00:00
christos
db2a5420b4 skip comment lines on password and group databases (Brooks Davis) 2013-10-16 17:27:42 +00:00
christos
7419876865 Default a bare "." with no type to F_DIR. For FreeBSD compatibility (Brooks
Davis)
2013-10-16 17:26:14 +00:00
christos
5c416430fc Restore old behavior of not printing sizes for directories, since it varies
depending on filesystem implementation. (Brooks Davis)
2013-10-16 17:24:20 +00:00