Commit Graph

115154 Commits

Author SHA1 Message Date
sjg 8186ad8ad9 Fix a couple of missing UNCONST's that hit bmake. 2003-07-14 21:13:48 +00:00
christos ed5bfb0707 PR/21896: Jun-ichiro itojun Hagino: Fix botch with passing -1 as the stdin
for the editor instead of 0.
2003-07-14 20:49:14 +00:00
lha 0836c6453a remove SYSTR_CLONE, its no longer used, approved by provos 2003-07-14 20:39:52 +00:00
sjg f1cf540a8d Add a :ts[c] modifier to allow controlling the separator used between
words in a variable expansion.  If 'c' is omitted no separator is used.
2003-07-14 20:39:20 +00:00
uwe fadd31bf33 Add vt220 8x10 koi8-r/koi8-u fonts so that I can read mail using
Jornada 680 console.

XXX: The fonts are marked WSDISPLAY_FONTENC_ISO, which is wrong, but
at least makes the alphabet available.  Line-drawing is all broken.
2003-07-14 18:30:40 +00:00
itojun 46471dc1e9 cast for signed/unsigned mixup 2003-07-14 18:27:48 +00:00
itojun 1bffbcd4a1 correct ^@ incorrectly committed 2003-07-14 18:26:05 +00:00
christos 6a7d20bb25 Pass WARNS=3 2003-07-14 18:19:11 +00:00
itojun c9df1b829c the line is needed (to remove closing doublequote) 2003-07-14 18:11:06 +00:00
itojun 232b5bf80e use bounded string op as much as possible 2003-07-14 17:25:41 +00:00
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