Commit Graph

177065 Commits

Author SHA1 Message Date
christos
8b4f8868b3 fix location of the xorg pixmaps. 2009-01-19 04:38:36 +00:00
snj
a8a1e35bee Fix set lists for XFree86 on netwinder. 2009-01-19 02:57:50 +00:00
christos
14ba6c67a5 Provide compatibility to the old timeval SCM_TIMESTAMP messages. 2009-01-19 02:27:57 +00:00
christos
962e67cdc0 fix version ioctl 2009-01-19 00:53:15 +00:00
bjh21
d7c9b7fb33 Split device_t out of softc, with one small fix where something wanted the
device_t but was getting the softc.
2009-01-19 00:11:16 +00:00
christos
f0adb7fbbb compat_linux needs at least netbsd_16 for sigcontext. 2009-01-18 23:29:33 +00:00
bjh21
96154ba75d Fix a bit of layout. 2009-01-18 23:25:12 +00:00
bjh21
c6e4ae9df0 Be consistent about what the void* cookies we pass to and from wscons contain,
in preparation for splitting softc and device_t.
2009-01-18 23:23:40 +00:00
bjh21
dcc1944658 Use device_xname() rather than dv_xname. 2009-01-18 22:57:55 +00:00
bjh21
ab4b4dc1da Autoconfiguration cleanup:
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Use device_*() rather than directly accessing structure members.
- Split device_t out of podulebus_softc.
2009-01-18 22:43:04 +00:00
tnozaki
db74109901 PR lib/40411, nuke wctrans_init(). lazy initialization is not good idea.
statically initialized _DefaultRuneLocale.rl_wctrans field.
so we can re-const-ify _DefaultRuneLocale.

pkgsrc/shells/standalone-tcsh should be rebuild,
because it's staticaly linked binary.
2009-01-18 22:03:19 +00:00
apb
a0e618bba1 Use hex instead of decimal in #if FOO_MAX == 0xffff.... tests, and
append "U" to make the constants unsigned.
2009-01-18 21:59:19 +00:00
cyber
ccd583fea9 Recover tls' change in rev1.33 that was clobbered in the rev1.40 sync. 2009-01-18 21:57:09 +00:00
apb
53ee7761e4 Integer values, no matter what their width, are cast to int64_t or
uint64_t for printing.  Because of this, parse.c:rewrite() should use
PRI[diouxX]64 as the printf format; the previous revision which used
"lld" and friends was a temporary measure.  We assume that PRId64 ends
with 'd', PRIx64 ends with 'x', etc.

In display.c:display(), change some u_intNN_t types to C99 standard
uintNN_t types, and consistently cast to [u]int64_t when printing
integer values (even in two cases where it's not really necessary but it
makes the code look more consistent).
2009-01-18 21:34:32 +00:00
cegger
946c49f6ac fix botched age_ioctl(): don't try to roll its own handling when ether_ioctl() is doing all of it right.
Tested by Jochen Kunz.
2009-01-18 21:24:44 +00:00
apb
44f43cf298 Remove local definitions of PRIxxxx macros in favour of the
centralised definitions from tools/compat/compat_defs.h, which
are included via nbtool_config.h.
2009-01-18 21:15:14 +00:00
apb
270cb3d9e7 Provide definitions for PRI{d,i,o,u,x,X}{16,32,64}. Many tools
already use [u]int{16,32,64}_t types, and a few already had their own
#ifndef/#define/#endif code for a few of these macros.  A future commit
will remove that now-redundant code in the affected tools.
2009-01-18 21:09:47 +00:00
bouyer
8a8c66a794 The Xen PCI_BUS_FIXUP/PCI_ADDR_FIXUP has rotted, catch up with x86 changes
in this area. Patch provided by FUKAUMI Naoki in PR#40356.
2009-01-18 20:50:43 +00:00
he
fddc3457b2 Change the use of formally undocumented features, which have now been
made to fail.  Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
bjh21
34052fb508 Split device_t from ioc_softc. 2009-01-18 20:31:08 +00:00
dholland
b34a85f960 Fix bogus conditional caught by today's make. It looks as if MKHIDEGAME
has never worked since it was introduced in 2002... clearly a lot of
people care about that.

It should work now, but because it's evidently never been tested it
may also require setlist adjustments.
2009-01-18 20:22:45 +00:00
christos
503c6c0a79 try a different approach since allocating a new RuneLocale is complicated.
Don't make DefaultRuneLocale const, so that we can write to it, and undo
previous changes.
2009-01-18 19:53:11 +00:00
cegger
97f2088ea7 beautify dmesg output 2009-01-18 18:55:38 +00:00
bjh21
792645e16e Now that I've fixed the bootstrap IIC stuff, split device_t out of softc. 2009-01-18 18:41:34 +00:00
bjh21
db48cd747b Add ARM_LOCK_CAS_DEBUG. 2009-01-18 18:24:23 +00:00
bjh21
a415d13dce A commit I missed from the recent migration to arm/fusu.S. 2009-01-18 18:23:59 +00:00
dsl
60ec4ca26f Revert previous - cause grief with .ifdef (foo)
Instead return False for exists(), defined(), make() etc when the
argument has length zero.
2009-01-18 17:30:19 +00:00
he
8279128fee Correct the syntax: .ifndef(RC4_SRCS) -> .if !defined(RC4_SRCS).
Could also have used .ifndef RC4_SRCS.
2009-01-18 16:52:18 +00:00
christos
4d5e83b18e fix debugging build (Wojciech Galazka) 2009-01-18 16:46:12 +00:00
bjh21
e9aeb0583d Adapt the arm32 fusu implementation for use on PROG26 configurations
and use it on acorn26.
2009-01-18 16:42:09 +00:00
christos
5dd7ffdfb6 add compat50 ioctls. 2009-01-18 16:37:19 +00:00
he
0e4798f78e Bump the ramdisk size so that the contents fits again. 2009-01-18 16:29:30 +00:00
bjh21
e5754b08fd Move arch/arm/arm32/fusu.S to arch/arm/arm/fusu.S in preparation for making
it usable on acorn26 as well.
2009-01-18 15:43:20 +00:00
bjh21
30286df7bb Add what I hope is a useful feature whereby, in DIAGNOSTIC builds, trap
handlers leave a useful sentinel value in R14_svc instead of their own
return address.  This should mean that if something causes a trap in SVC
mode without saving R14 first, it'll cause a nice obvious panic rather than
a hang or worse.  Of course, if it's using R14 as a temporary, there may
still be some confusion.
2009-01-18 15:14:34 +00:00
christos
39c9db5df2 turn on PASTE64 to handle large cut-n-paste buffers like the old xterm did. 2009-01-18 14:44:55 +00:00
hans
d4647b05dd Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb. 2009-01-18 13:55:31 +00:00
hans
7ff8bbb1b3 Not every grep knows -q. Ok by apb. 2009-01-18 13:53:03 +00:00
tnn
f341bbffe8 use %zu to print size_t 2009-01-18 13:30:33 +00:00
he
c2e5f48d9e After the recent time_t and associated changes, COMPAT_ULTRIX now
depends on COMPAT_50.  Make it so.
2009-01-18 13:25:39 +00:00
tnn
8daad4ac39 Fix swedish USB keymap. The apostrophe key was mapped to comma.
(How did this go unnoticed for so many years?)
2009-01-18 12:58:49 +00:00
he
f15a4a6620 Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
2009-01-18 12:51:25 +00:00
dsl
bae3fcc0c3 Only terminate a conditional function argument on ')' if we expect the
argument to be exclosed in (...).
'.if exists()' is parsed as '.ifdef exists()' and the ')' must not be
left over at the end.
I have no idea why any of my recent changes have affected this.
But pkgsrc/mk/compiler/gcc.mk (line 488) does .if exists(${FCPATH})
even though FCPATH is only set when the file exists.
2009-01-18 12:50:15 +00:00
he
305b313149 Farm out module tests to module.mi, to accomodate evbppc which
currently does not build modules or module tests.
2009-01-18 12:49:07 +00:00
lukem
c17aaf60c9 WARNS=4 2009-01-18 12:17:49 +00:00
lukem
a06595c27b fix -Wsign-compare issues 2009-01-18 12:14:16 +00:00
lukem
53ff085f8b WARNS=4 2009-01-18 12:13:32 +00:00
lukem
c5eb4ab601 fix -Wsign-compare issues 2009-01-18 11:56:51 +00:00
cegger
d5fc4888bc Bracket IRQ masking around nfe_intr() in nfe_init() rather inside nfe_intr().
Proposed by dyoung@ in PR 40345. Should fix PR 40345.
2009-01-18 11:21:06 +00:00
drochner
fb535ac77e Make mktime(3) work with 64-bit time_t.
The problem is that the tm_year field of "struct tm" is just an "int"
(per POSIX), and thus time_t values >  2^31*60*60*24*365 cannot
be converted. This made mktime(3) fail even if no such large time values
were passed in by user code because the algorithm does a binary search
over the time_t range which fails if a probe value cannot be converted.
To fix this, limit the time_t range to be scanned to 55 bits (which
is a bit on the safe side, but still good until y570855533).
This is more a stopgap fix, the overflow should be checked for
at other places as well (eg localtime(3)), and there are some more
limitations in timezone parsing code.
2009-01-18 10:57:15 +00:00
mrg
5be383f77e Do not erroneously leave a truncated 16-bit sector
count on "large" (>=32MB) file systems when fetching the geometry from
the medium.  This confuses some software (which is to say Windows)
when a device newfs(8)ed under NetBSD is transported to another
system.  (Note: The rest of the code uses 'bsec', and DTRT for smaller
file systems.)

contributed anonymously.
2009-01-18 10:50:56 +00:00