185388 Commits

Author SHA1 Message Date
snj
59c2b39361 Pull in fixes from upstream revision 1.108 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:56:40 +00:00
snj
a88bca7cce Argh. Missed another now-unnecessary mhitch@ acknowledgement. 2009-11-15 20:48:34 +00:00
snj
f31c85e46c Three ad clauses down: one for mhitch@ && is@, and two for mhitch@. 2009-11-15 20:45:36 +00:00
snj
ac9f09c8c7 Drop 3rd and 4th clauses (except in one case, where copyright is shared
with UCB and only the 3rd clause is dropped).  Approved by mhitch@ and is@
(copyright holders).
2009-11-15 20:38:35 +00:00
wiz
6278314a09 mDNSResponder-214 out. 2009-11-15 20:16:41 +00:00
snj
811af9adc7 Pull in fixes from upstream revision 1.362 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:10:11 +00:00
snj
7eeffe7acc Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 19:51:49 +00:00
dsl
b87a655a0d Fix all formats for 64bit builds 2009-11-15 18:43:28 +00:00
dholland
470c8bf181 Declare trap name array as extern const char *const [] to match how
it's defined in trap.c. (Should really be in a header, of course.)
Compile-tested.
2009-11-15 18:41:31 +00:00
dsl
c0ed6b9587 Fix borkeage 2009-11-15 18:41:08 +00:00
dholland
e460740976 Remove PROTO(), which is like _P() only spelled differently.
The change causes gcc to harmlessly permute two instructions in the output
for some reason, but otherwise has no effect on the generated code.
2009-11-15 18:27:40 +00:00
dholland
268f060954 Since this is a host program, fix some 64-bit cleanliness issues. 2009-11-15 18:24:23 +00:00
dsl
08ad4f398f Need %zu for size_t 2009-11-15 18:23:08 +00:00
dholland
3b3360c119 Declare trap name array as extern const char *[] to match how it's defined
in trap.c. (Should really be in a header, of course.) Compile-tested.
2009-11-15 18:17:18 +00:00
tsutsui
9dc186d614 Reserve WSDISPLAY_TYPE for DisplayLink DL-1x0/DL-1x5 USB LCDs and
USB-VGA adaptors (which may require a new ioctl for DUMBFB ops). From
FUKAUMI Naoki.
2009-11-15 17:42:24 +00:00
tsutsui
6bccdb1af3 Regen from usbdevs rev 1.537:
> Add IDs for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
> Info from FUKAUMI Naoki's udl(4) driver patch.
2009-11-15 17:34:32 +00:00
tsutsui
dd10c2525c Add IDs for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
Info from FUKAUMI Naoki's udl(4) driver patch.
2009-11-15 17:33:28 +00:00
skrll
9e705b0d3a Reformat comment. 2009-11-15 15:53:05 +00:00
pgoyette
135ea6d8da Add a period at the end of a sentence. 2009-11-15 14:59:47 +00:00
dsl
b6abfac44f Get patch part of version from comment. 2009-11-15 14:40:18 +00:00
dsl
3f7c0ec34d Use shell builtins instead of awk and sed.
Avoids problems with awk processing floating point numbers when LC_NUMERIC
give a decimal point of ','.
Fixes PR/42321
2009-11-15 13:39:00 +00:00
skrll
dcfde2a0ef Put PMAP_NOCACHE in the MD space. 2009-11-15 12:26:02 +00:00
skrll
0745739155 Pull across most of the changes from matt-nb5-mips64.
Only remaining change is bfd/elf.c:_bfd_elf_is_local_label_name which
should probably be done via mips_elf_is_local_label_name.
2009-11-15 10:25:16 +00:00
lukem
7f19467717 Crank version to 20090915:
* rename internal getline() to get_line() to avoid conflict with libc
* avoid NULL deref in verbose output in an error path
* improve man page markup
2009-11-15 10:03:16 +00:00
tsutsui
468a515b3b Add a commented out "encoding us.swapctrlcaps" line as a popular example. 2009-11-15 07:43:13 +00:00
elad
903af42390 Include miscfs/specfs/specdev.h for spec_init(). 2009-11-15 02:37:13 +00:00
christos
55e651517c one more printf like function, and fix the lossage. 2009-11-14 23:40:11 +00:00
christos
1070653ee5 Add a gcc printf attribute to the printf functions and fix the lossage caught. 2009-11-14 23:31:37 +00:00
tnozaki
6114d6b7fd fix format string bug, filename may contain % character, don't use it as format string. 2009-11-14 20:01:20 +00:00
rmind
16347a5be7 kpsignal2: do not make the signal pending twice when tracing the process,
also update a comment and add an assert.  Fixes PR/42309 by Nicolas Joly.
2009-11-14 19:06:54 +00:00
elad
1570e68c40 - Move kauth_init() a little bit higher.
- Add spec_init() to authorize special device actions (and passthru too for
  the time being). Move policy out of secmodel_suser.
2009-11-14 18:36:56 +00:00
uebayasi
3e92dd482c Sprinkle static. 2009-11-14 17:06:12 +00:00
skrll
8e8677821f Update a couple of comments. 2009-11-14 13:31:44 +00:00
dsl
e6a11930a4 Christos was worried about clrbits() being called with a length of zero.
This can't happen, but rework so it doesn't matter.
Remove 'optimisation' for length 1, that doesn't happen often enough.
2009-11-14 13:18:41 +00:00
njoly
f2999773ff Use __packed, not __attribute__((__packed__)). 2009-11-14 10:37:27 +00:00
cegger
1225bb1b7a use __arraycount 2009-11-14 09:54:10 +00:00
cegger
17429828e3 include <sys/device_if.h> for device_t. There is no use of struct device. 2009-11-14 09:42:50 +00:00
tsutsui
c03477f121 Fix a wrong index value for edid_products[] inside #ifdef EDIDVERBOSE in
edid_findproduct(). From Yasushi Oshima via FUKAUMI Naoki in udl(4) patch.
2009-11-14 09:19:41 +00:00
tsutsui
929c691c07 Preserve wscons(4) device numbers for forthcoming udl(4) USB display. 2009-11-14 09:14:22 +00:00
christos
e6f376b325 Fix pppd for ipv6 link-local addresses. Change the prefix length to 72 bits.
Thanks to Nagae Hidetake for providing patches and testing.
2009-11-14 04:47:03 +00:00
nakayama
933215c182 comcons in dev/ic/com.c is now declared as static, so don't peek it
directly but use it via cn_tab.

Tested on my Netra X1.
2009-11-14 03:43:52 +00:00
tnozaki
591608f7a5 1. PR/42209 various problems with EBCDIC support in iconv(3)
part3: added CP114[0-9] support.
2. fix csmapper name separator.
2009-11-14 01:56:21 +00:00
joerg
a5fad62a18 Simplify ifreq_setaddr:
- Drop the INET6 block. The commands are never given to this function
  and truncating the sockaddr is arguably not the desired result anyway.
- Clear the address before copying. This fixes SIOCGIFNETMASK and possible
  other ioctls for users that don't check sa_len. This includes
  COMPAT_43 and Linux emulation.

OK dyoung@
2009-11-13 23:11:08 +00:00
dsl
659c7fee7d tlbstate is 'int', so use 'cmpl' not 'cmpq'.
Fixes gprof on amd64 PR/40960.
2009-11-13 22:49:46 +00:00
joerg
e7123f329a Return the result of copyout. Reminded by Niolas Joly. 2009-11-13 22:39:35 +00:00
joerg
8277e92195 Provide SIOCGIFNAME. 2009-11-13 21:45:03 +00:00
dsl
f3583ee6ce Fix clrbits() so that it doesn't mask no bits out of the byte after the
range (when the last bit to be cleared is the msb of a byte).
Fixes PR/42312 in a slightly better way than proposed.
2009-11-13 19:15:24 +00:00
dsl
be258d919e Change args to clrbits() to be unsigned for efficiency. 2009-11-13 19:00:15 +00:00
gson
dddcd98c78 Removed return statement in parser action that caused a memory leak with
the new yacc, making "sh MAKEDEV -MM init" consume 27 MB of virtual memory
with the result that NetBSD could no longer be installed on a 32 MB system.
2009-11-13 13:49:09 +00:00
mishka
5da27c1396 The ippool(5) manpage mentions ippool.conf (which is also more common
name for config files) - add it to distribution. Per <hubertf> suggestion.
2009-11-13 09:51:13 +00:00