Commit Graph

74757 Commits

Author SHA1 Message Date
itojun c5520fd00b uninitialized pointer. PR 11702 2001-01-08 14:06:12 +00:00
lukem b8d674b457 link sradixsort(3) -> radixsort(3) 2001-01-08 14:06:09 +00:00
itojun 561c43d3fa use MACHINE_CPU=arm on both arm26/32. 2001-01-08 13:28:08 +00:00
itojun f320afb26b address PR 11653. checked on alpha.
XXX supports 32bit and 64bit pointers only
2001-01-08 13:20:29 +00:00
martin 5b6d57d949 Supply enough rope to let the user disable or override all interface
up/down magic.
2001-01-08 12:45:39 +00:00
christos a36e2b78f7 fix arm32 confusion. There was a regression that changed 4096->8192
somewhere after 1.10. I am fixing this in the master source of file.
[this should be pulled up for 1.5.1]
2001-01-08 12:41:06 +00:00
takemura 757dca55b7 These ioctl commands should be '_IOW' to set value.
WSMOUSEIO_SRES
  WSMOUSEIO_SSCALE
  WSMOUSEIO_SRATE
2001-01-08 11:20:24 +00:00
rh 21ea7bd559 regen 2001-01-08 09:53:08 +00:00
rh 48276d65d9 Add IDs for the NEC Versa LX and Versa Pro LX 2001-01-08 09:52:22 +00:00
takemura a0a2fc0688 Implement WSMOUSEIO_SRES to control A/D port scan interval. 2001-01-08 09:50:08 +00:00
enami cdd63c8e8b Add RCSid. 2001-01-08 08:37:12 +00:00
garbled ff9d32a832 Add a bug that I forgot about in here.. so that I don't forget to fix it. 2001-01-08 08:33:24 +00:00
itojun 99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
garbled 5a95f8151c Add the sushi manpage to the makefile. 2001-01-08 08:24:17 +00:00
garbled 9d62d0bfd2 Add entires for the sushi manpage. 2001-01-08 08:15:35 +00:00
garbled 729ebd2d8e Write a manpage for sushi. Closes PR 11902 by Lennart Augustsson. 2001-01-08 08:12:54 +00:00
itojun c2cbc35d36 need string.h for mem* prototypes.
XXX not sure if we need to compile getopt{,1}.c in gnu/usr.bin/{bc,dc}...
2001-01-08 08:06:37 +00:00
mrg 2ae6017367 link openssl with -lcrypto_rc5 and/or -lcrypto_idea (before -lcrypto) if
those ciphers are asked for with MKCRYPTO_RC5/MKCRYPTO_IDEA.  avoids building
rc5/idea support with missing libcrypto support.
2001-01-08 07:49:01 +00:00
enami c3b283e57f Missed RCSid in rev. 1.61. 2001-01-08 07:48:59 +00:00
mrg 9354cc7a64 add missing $LIBCRYPTO_RC5 and $LIBCRYPTO_IDEA 2001-01-08 07:41:10 +00:00
itojun 1a0a03b824 add missing DPADD 2001-01-08 07:38:00 +00:00
mrg 762bc3c71a add missing $LIBSSL 2001-01-08 07:36:10 +00:00
itojun 9833445e10 declare MACHINE_CPU. MACHINE_CPU will be generated from MACHINE_ARCH,
to identifiy CPU type in build tree (like mipse[lb] -> mips, sh3e[lb] -> sh3).

XXX what should we do about arm and sparc?
2001-01-08 07:28:07 +00:00
martin 6f9aebaaf0 Cleanup startup error message handling, copy fatal messages to stderr
too when not (yet) running in background.
Avoid calling endwin() when curses has not been initialized. Fixes a core
dump reported by Bernd Ernesti when running full-screen mode with
configuration file errors.
2001-01-08 07:18:54 +00:00
chs 6717a2ac1b in vtruncbuf(), use a "synchronous freeing" flush to prevent a race
between write i/os in a disk-based filesystem vs. the disk block being
freed by a truncation, allocated to a new file, and written again with
different data.  if the disk driver reorders the requests and does
the second i/o first, the old data will clobber the new, corrupting
the new file.
2001-01-08 07:05:47 +00:00
itojun 9bbe5b85ca "lp" must be defined reagardless from __HAVE_OLD_DISKLABEL 2001-01-08 06:57:21 +00:00
martin 592d28a907 Regen after MAKEDEV update. 2001-01-08 06:22:42 +00:00
martin fd6a417d77 Group isdn devices, so "sh MAKEDEV isdn" will create them all.
Add apropriate entries to the archs that already have isdn support
enabled in their cdev array.
2001-01-08 06:21:19 +00:00
chs f0ff6fc897 in uvn_flush(), when PGO_SYNCIO is specified then we should wait for
pending i/os to complete before returning even if PGO_CLEANIT is not
specified.  this fixes two races:

 (1) NFS write rpcs vs. setattr operations which truncate the file.
     if the truncate doesn't wait for pending writes to complete then
     a later write rpc completion can undo the effect of the truncate.
     this problem has been reported by several people.

 (2) write i/os in disk-based filesystem vs. the disk block being
     freed by a truncation, allocated to a new file, and written
     again with different data.  if the disk driver reorders the requests
     and does the second i/o first, the old data will clobber the new,
     corrupting the new file.  I haven't heard of anyone experiencing
     this problem yet, but it's fixed now anyway.
2001-01-08 06:21:13 +00:00
itojun 9f119cbf91 wrap icmp6 checksum error printf() into #ifdef ND6DEBUG.
sync with kame,  NetBSD PR 11911.
2001-01-08 06:12:46 +00:00
phil e6550aba7b Update for bc-1.06. 2001-01-08 04:53:59 +00:00
simonb 699a13760c Add regression tests for div/ldiv/lldiv. 2001-01-08 04:41:31 +00:00
simonb d7d808597e Add regression tests for div/ldiv/lldiv.
Inspired by port-i386/11914 from Luke Mewburn.
2001-01-08 04:39:31 +00:00
phil 957f1a0095 Finish the import of bc-1.06. 2001-01-08 04:03:30 +00:00
phil 0215b1186b Import bc-1.06 2001-01-08 03:28:58 +00:00
fvdl 275b941468 When -I is specified, we mean to initialize the label if it's not there
already. So, don't fail if there appears to be a corrupt label or
no 'fake' label; get the 'default' label (which is generated
from DIOCGDEFLABEL) instead.
2001-01-08 02:19:58 +00:00
fvdl d040bd5908 Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when
the number of partitions is > OLDMAXPARTITIONS. This is better
than silently truncating the label (don't want to silently throw
away partitions when using an old disklabel binary on a label with
> 8 partitions). From Enami Tsugutomo.
2001-01-08 02:03:45 +00:00
thorpej 4d4b2b5626 Nevermind that it's silly to include PROT_EXEC even if a vnode
doesn't have the exec bit set, we need to have PROT_EXEC set
in order for some expected mmap/mprotect behavior to work, so
do the last bit slightly differently: if udv_attach() fails, and
the protection (NOT maxprot) doens't include PROT_EXEC, then clear
PROT_EXEC from maxprot and try udv_attach() again.

Sigh, mmap really needs to be rototilled.
2001-01-08 01:35:03 +00:00
lukem 10fc746e6d if HAVE_VASPRINTF (set ifdef BSD4_4), use vasprintf() instead of homegrown
code in doformat().  results in slightly smaller /bin/sh.  idea suggested by
Witold J. Wnuk <witek@pd37.warszawa.sdi.tpnet.pl>, approved by christos.
2001-01-07 23:39:07 +00:00
thorpej b79ddef845 Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears
to require this.
2001-01-07 23:29:12 +00:00
christos 339f061e38 remove redundant decls 2001-01-07 23:21:44 +00:00
lukem dd7296f47a support %ll (as synonym for %q) in doformat(), since my changes to %q -> %ll
broke this :/
problem reported in private email by Witold J. Wnuk.
<witek@pd37.warszawa.sdi.tpnet.pl>.
2001-01-07 22:19:53 +00:00
martin 6b82e7fe42 64bit police.
Rumors say there are archs without ISA busses, so avoid including
(uneccesarily) isa bus headers in MI files.
XXX this is the minimal solution, layer interface calls will have
XXX to be revisited later
2001-01-07 21:47:24 +00:00
leo 0aa3c2b02f Sync machine types with atari/include/cpu.h 2001-01-07 21:24:05 +00:00
leo 427a7dcda0 Kill a typo. 2001-01-07 21:19:05 +00:00
leo b9a7cb087a Nuke a cf_unit abuse. 2001-01-07 21:17:32 +00:00
leo fb19421ce8 Expand identify_cpu() for the Milan. 2001-01-07 21:12:31 +00:00
leo c21ca4d86a Add the Milan as a possible machine type. 2001-01-07 21:08:03 +00:00
leo 3c48826086 Make ahdi_part and ahdi_root 'packed' so I can use this include file on
an x86 machine to analyze my atari disk.
2001-01-07 21:05:16 +00:00
martin a6df9f9ad3 Fix coyp&pasto bug when parsing the ppp-expect-password option, reported by
Thomas Moestl against the FreeBSD version.
2001-01-07 21:01:03 +00:00