Commit Graph

113311 Commits

Author SHA1 Message Date
itojun
f4a82bcf1f strlcat is easier here 2003-05-17 22:50:29 +00:00
thorpej
fcecc153fe Use aprint_normal() for the non-error (and thus non-interative) case
of mounting the root file system.
2003-05-17 22:22:41 +00:00
thorpej
6c3da825c3 Use aprint_normal() to report the boot device. 2003-05-17 22:18:28 +00:00
thorpej
577fd9d8fa * Use aprint*().
* Add Ultra/133 to wdc_print_modes().
2003-05-17 21:52:03 +00:00
thorpej
2f25411d28 Use a buffer queue. Primary advantage here is robustness in the face
of temporary resource shortages.
2003-05-17 21:42:08 +00:00
itojun
936d35bb1b use strlcpy 2003-05-17 21:28:53 +00:00
itojun
5a8065df69 string manipulation cleanup 2003-05-17 21:26:47 +00:00
itojun
bb3fc85900 use snprintf 2003-05-17 21:24:38 +00:00
itojun
792f67c795 string manipulation cleanup 2003-05-17 21:20:09 +00:00
itojun
c5f76786a4 use strlcpy 2003-05-17 21:18:46 +00:00
itojun
0f00216d14 string manipulation cleanup 2003-05-17 21:17:43 +00:00
itojun
4005e1b9e9 use strl* 2003-05-17 21:05:10 +00:00
itojun
0e1bb4cd82 use strlcat/strlcpy 2003-05-17 21:03:21 +00:00
itojun
ef713a2fe9 use strlcat 2003-05-17 21:00:57 +00:00
itojun
89bf339ad7 use strlcpy/strlcat 2003-05-17 20:58:39 +00:00
itojun
c428db5b2f use strlcpy 2003-05-17 20:55:44 +00:00
itojun
9e390651ee remove local copy of strl{cat,cpy} 2003-05-17 20:49:28 +00:00
itojun
85da88227f use strlcpy/strlcat.
[fix off-by-one in displayq.c]
2003-05-17 20:46:42 +00:00
thorpej
5a467fa72d Add isinfl() and isnanl(). 2003-05-17 20:43:13 +00:00
thorpej
200111747f Add long double support. 2003-05-17 20:42:28 +00:00
itojun
b37b18f113 remove obsolete comment 2003-05-17 19:19:50 +00:00
itojun
d0f8b66023 strncpy -> strlcpy 2003-05-17 19:18:59 +00:00
he
d963c8ed8a In disasm_fields(), add a buffer length argument and keep track of
the remaining length of the buffer to use with the modified
db_symstr() interface.  Also, convert to using snprintf() via some
local macros appending to the result buffer.
2003-05-17 19:17:43 +00:00
itojun
84e2880efb KNF 2003-05-17 19:14:25 +00:00
itojun
d0512514bd use strlcpy. don't hardcode sizes, use sizeof. 2003-05-17 19:09:08 +00:00
itojun
4a1c105c26 ensure string termination 2003-05-17 19:00:22 +00:00
itojun
f35cce81c8 strncpy -> strlcpy 2003-05-17 18:51:13 +00:00
itojun
3f62dc6d24 strlcpy 2003-05-17 18:19:20 +00:00
itojun
3d2b0dbc0e strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
itojun
6ca34aa391 no need for ip_v recovery in output path too
(tcp_template includes ip_v setting)
2003-05-17 17:16:20 +00:00
itojun
b29a40989d ip checksum logic no longer damage ip_v 2003-05-17 17:08:15 +00:00
christos
acec85bb7c Initialize and reset curtxeps to zero each time the error rate is exceeded.
This stops the continuous spewing of error messages, making it just sporadic.
2003-05-17 16:46:03 +00:00
thorpej
4aef050969 Add DIOCKLABEL support. Fixes PR kern/21605 (Luke Mewburn). 2003-05-17 16:11:52 +00:00
mjl
cf40158777 Typos in comments. 2003-05-17 15:53:42 +00:00
thorpej
548e1373f8 Another fix from Achim Leubner @ ICP:
Test-busy *before* marking the controller as processing a user ioctl,
otherwise the command queue could stall permanently if test-busy returned
true.
2003-05-17 15:34:12 +00:00
thorpej
8969ba6ff5 Build _isinfl() and _isnanl(). 2003-05-17 15:05:52 +00:00
itojun
0ba5684be4 possible scanf overrun 2003-05-17 15:05:19 +00:00
itojun
7b631c16fa scanf overrun 2003-05-17 14:58:53 +00:00
itojun
9e248e087b sscanf overrun 2003-05-17 14:58:19 +00:00
itojun
658519705e sscanf possible overrun 2003-05-17 14:56:40 +00:00
itojun
682aab7791 sscanf overrun 2003-05-17 14:54:53 +00:00
thorpej
f9345ff71e Add _isinfl() and _isnanl() routines, currently for internal use only. 2003-05-17 14:51:24 +00:00
agc
23a6c4c9b7 Test the right variable after allocating space, and then get rid of an
unused local variable.
2003-05-17 14:26:30 +00:00
itojun
4e7f8e8660 backout previous. 2003-05-17 13:58:07 +00:00
itojun
405a7327c7 fix strncat too. from wiz 2003-05-17 13:56:41 +00:00
isaki
1175e83334 Style fix. 2003-05-17 10:38:55 +00:00
isaki
31e6e287c2 Style and indent fix. 2003-05-17 10:37:55 +00:00
dsl
7452c78152 Fix botched nathanw_sa_merge change
fixes port-i386/21603
2003-05-17 10:34:39 +00:00
isaki
29d1fbba67 More style fix. 2003-05-17 10:11:19 +00:00
scw
66cf68c402 On some platforms, sizeof(db_expr_t) > sizeof(long), so add a method
to select the right format string (at compile time) when displaying
variables of type db_expr_t.

This fixes a problem where ddb(4) would only display the low 32-bits
of registers for an ILP32 kernel on SH5, even though registers
(and db_expr_t) are always 64-bits wide.
2003-05-17 09:58:03 +00:00