Commit Graph

115094 Commits

Author SHA1 Message Date
itojun 8747acfc51 strlcpy 2003-07-14 17:22:10 +00:00
itojun b40f711799 use strlcpy 2003-07-14 17:20:13 +00:00
itojun 4c19286f97 correct igmp. from love 2003-07-14 16:39:43 +00:00
itojun 47d8f56c50 more cleanups 2003-07-14 16:23:40 +00:00
itojun 261e336de5 SIGINFO is defined 2003-07-14 16:17:37 +00:00
itojun 311ed76391 remove unused function
XXX what's the difference between #ifdef UTMPX and #ifdef SUPPORT_UTMPX
2003-07-14 16:16:42 +00:00
itojun 1f245ffbb2 more unifdef 2003-07-14 16:06:46 +00:00
itojun eb8120f761 more unifdef 2003-07-14 16:00:52 +00:00
aymeric 66cce85a22 get rid of printf() warnings in the FDDEBUG case by using the right format
specifiers
2003-07-14 15:57:39 +00:00
aymeric f8f792fd37 The second argument to amidisplaycc_setnamedfont() really should be a const.
Make it so.
2003-07-14 15:56:39 +00:00
itojun 21f5307c6f remove unneeded #ifdef. (confirmed that same *.o is generated) 2003-07-14 15:56:28 +00:00
itojun 625dced967 remove unneeded #ifdefs. improves readability.
(confirmed that exact same *.o is produced)
2003-07-14 15:55:53 +00:00
aymeric a55c504a2f always include dev/cons.c and dev/cninit.c
Problem reported by Guther Nikl on port-amiga
This follows what other ports do.
2003-07-14 15:53:46 +00:00
lukem 365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
lukem 9391907df1 add missing __RCSID() 2003-07-14 15:40:37 +00:00
lukem a62911e9d9 add missing __KERNEL_RCSID() and RCSID comment 2003-07-14 15:40:04 +00:00
lukem de043b8788 use __KERNEL_RCSID(0, instead of RCSID( in the kernel 2003-07-14 15:17:13 +00:00
lukem 09b3191490 add missing __KERNEL_RCSID() 2003-07-14 14:59:01 +00:00
itojun a157f97782 unifdef VMS/WIN16/WIN32 in public headers, at least 2003-07-14 14:06:14 +00:00
itojun df0916cac9 MDC2 is patented 2003-07-14 13:49:21 +00:00
itojun 435fb161c1 link against libcrypto_mdc2 2003-07-14 13:27:40 +00:00
itojun db0388a161 MDC2 is a patented algorithhm, so it is built conditionally 2003-07-14 13:26:30 +00:00
itojun c187ba994b use bounded string op (only one sprintf remains - still no clue) 2003-07-14 13:24:00 +00:00
itojun a395b35ba2 delint 2003-07-14 13:07:05 +00:00
itojun 848c8ac0ef use bounded string ops (especially libraries) 2003-07-14 13:05:19 +00:00
simonb 96df404b38 Use wrteei to disable interrupts; easier assembly and saves a temporary
variable.
2003-07-14 13:02:13 +00:00
simonb 0d42503562 Re-include "com.h" since we check NCOM in softserial(). Serial console
now works after properties rototill.
2003-07-14 12:59:36 +00:00
itojun fcfc71fca0 use strlcat 2003-07-14 12:37:13 +00:00
itojun ab3a8ded53 use bounded string op/asprintf 2003-07-14 12:02:00 +00:00
itojun 6d415bc4b0 use bounded string op 2003-07-14 11:54:06 +00:00
itojun 347022e133 use bounded string op - some remains 2003-07-14 11:52:24 +00:00
itojun 01a5c755ee use bounded string op, simplify by asprintf/strdup 2003-07-14 11:45:18 +00:00
tshiozak 0e0aa0868c use NONIDENTICAL instead of ILSEQ if the reverse conversion of ISO646.
(fix for lib/22135)
2003-07-14 11:37:49 +00:00
itojun 479f575456 use bounded string op 2003-07-14 11:36:48 +00:00
itojun 31d51579a3 get rid of strsave(), use strdup directly 2003-07-14 11:09:19 +00:00
dsl 6445d05466 Add explicit msg_string() call to MSG_hidden to stop core dump
when the password is set and the usename not ftp.
Whitespace changes.
2003-07-14 10:53:42 +00:00
dsl a2d5357066 Fix code that guesses bios geometry from mbr info.
When asking for bios geometry, ask for sectors per track and heads
then calculate cylinders from volume size.
Write MBR_MAGIC into correct place when writing extened partitions.
2003-07-14 09:59:00 +00:00
aymeric 2b846f3e47 . ANSIfy a bit more
. use the boot_entry_t type for the entry point

Makes ofwboot compile with -Wmissing-prototypes -Wstrict-prototypes, as
suggested by Chuck Silvers in a private e-mail.
2003-07-14 09:46:06 +00:00
itojun 3f02ac18b7 use bounded string op 2003-07-14 09:44:00 +00:00
aymeric db875b067a . prototype for main()
. typedef boot_entry_t to be the prototype of the kernel entry point
2003-07-14 09:42:58 +00:00
itojun d91f80a702 the function is equivalent to strdup. 2003-07-14 09:41:27 +00:00
itojun fe182b3802 use bounded string op 2003-07-14 09:40:26 +00:00
itojun 5d7783072e asprintf is safer. add error trap for malloc failure 2003-07-14 09:38:14 +00:00
itojun 2fe0488981 use bounded string op 2003-07-14 09:33:08 +00:00
dsl 02af72a142 Fix code that detects bios geometry from mbr table. 2003-07-14 09:32:12 +00:00
itojun 51a0035259 use bounded string op 2003-07-14 09:31:16 +00:00
itojun 6a949dc545 minor KNF 2003-07-14 09:30:52 +00:00
itojun eea9ee0720 asprintf is easier and safer 2003-07-14 09:29:21 +00:00
itojun 2777b2aa10 use bounded string op as much as possible 2003-07-14 09:25:37 +00:00
itojun 870f37306c use bounded string op 2003-07-14 09:24:00 +00:00