118180 Commits

Author SHA1 Message Date
christos
f088ebb248 Don't make declarations visible from userland, unless _LIBC is defined,
because we don't define semid_t.
XXX: Should we be defining __semid_t instead?
2003-09-30 20:37:36 +00:00
christos
7bd9c302eb Regen 2003-09-30 20:36:40 +00:00
christos
4420def0dc #ifdef _LIBC the semid_t syscalls since we don't define semid_t in userland
except in the libc case.
XXX: Should we define __semid_t instead and make those visible from userland
again? Only ktrace and syscall() get affected.
2003-09-30 20:36:10 +00:00
christos
a474dc2106 Keep track of which prototypes we declared already so that we don't
declare them again.
2003-09-30 20:34:28 +00:00
wiz
8d0f21a650 Fix regexo in previous. 2003-09-30 20:11:26 +00:00
wiz
084f5623b9 Prepend doc- to have the same names as the groff distribution
(stripped out by strip.sed during installation).
2003-09-30 20:10:14 +00:00
manu
45fa851e14 Report keyup and keydown events
Qhen the event queue is full, sleep so that the process will be able to
consume entries
2003-09-30 19:56:54 +00:00
manu
a61584517b Attempt to restore colormap after a display server crashed 2003-09-30 19:49:00 +00:00
christos
92767d7de3 #ifdef _KERNEL all of it. 2003-09-30 19:20:05 +00:00
christos
3b665646d7 include <sys/md.?> versions. 2003-09-30 19:18:28 +00:00
christos
12461381f5 Include <sys/sha1.h> instead of copying its contents. 2003-09-30 19:15:42 +00:00
kleink
990d9b7ad5 Mark those files moved from base (rev. 1.429) to misc obsolete. 2003-09-30 19:12:57 +00:00
matt
c1704e15b4 Enable the SIGINFO trampoline. 2003-09-30 19:05:41 +00:00
matt
8881697abd Add -ffreestanding 2003-09-30 18:58:39 +00:00
christos
0a7cc0d7d1 Apply security fix: http://www.openssl.org/news/secadv_20030930.txt
Changelog from: http://cvs.openssl.org/chngview?cn=11471
2003-09-30 15:59:53 +00:00
briggs
ef852c60a0 Add option to remove escape character before comment character in
fparseln().  Add escape characters before comment characters in the
few places those appear in the calendar data files.
2003-09-30 15:00:18 +00:00
briggs
701f5ff4ba Make sure that we don't blow away the enables in ahd_reset() on PCI-X. 2003-09-30 12:34:16 +00:00
lukem
5161639fb6 set -Wno-error on a few more files for gcc 3.3.
(they're technically bugs in XFree, but we'll wait until 4.4.x before
trying to fix them locally)
2003-09-30 09:49:29 +00:00
lukem
2961308e81 only pull in -li386 if ${MACHINE_ARCH} == "i386".
(noticed during a cross-compile from i386 to alpha.  funny that ;-)
2003-09-30 09:45:29 +00:00
tron
9340e9d695 Fix build problem caused by integration of new I2C framework. 2003-09-30 09:35:15 +00:00
lukem
2eedde4648 remove unnecessary / 2003-09-30 09:23:19 +00:00
lukem
58d2d9a196 Set _LIBLDOPTS to set -Wl,-rpath-link -R -L appropriately based
on the setting of ${SHLIBDIR} and ${SHLIBINSTALLDIR} (_not_ ${_LIBSODIR}).

Fixes cruel and unusual ^W^W^W obscure native-build and not-so-obscure
cross-builds problems I was having with shared libraries with a
non-base LIBDIR (e.g, /usr/X11R6/lib) that use LDADD to pull in other
libraries from /usr/lib (such as libm) which are really in /lib and the
symlink from ${DESTDIR}/usr/lib/libm.so to /lib/libm.so.N.M was confusing
the linker.  Stuffing -rpath-link ${DESTDIR}/lib in solves the problem.

This should mean that shared libraries that depend upon other shared
libraries in other directories should DTRT in a DESTDIR (cross-)build...

Inspired by _PROGLDOPTS in <bsd.prog.mk>
2003-09-30 07:24:23 +00:00
lukem
06b22cf0b9 Use '${DESTDIR}${somepathvar}' instead of '${DESTDIR}/${somepathvar}'.
Suggested by Matt Thomas.
2003-09-30 06:41:29 +00:00
lukem
98cb2b51cf clarify which bits of xserver we are most interested in 2003-09-30 06:39:09 +00:00
lukem
312f747986 Invoke ./checkflist with ${CHECKFLIST_FLAGS}, so that the end-user
can set CHECKFLIST_FLAGS="-e" in mk.conf so that extra files in
$DESTDIR are `non fatal'.

Remove unused '${CHECKFLISTFLAGS}' (which allowed selection of
different checkflist target in maketars target)
2003-09-30 06:26:37 +00:00
lukem
38ae235c4f * add -e; extra files are not fatal
* add -m; missing files are not fatal
* use  ${MKTEMP} -d  instead of home-grown tempdir creation code
2003-09-30 06:23:43 +00:00
matt
21b18140ed Add -I${X11SRCDIR.xc}/config/${HOSTPROG} 2003-09-30 05:58:56 +00:00
lukem
9eb4566d27 * use ${MKTEMP} -d instead of home-grown tempdir creation code
* use $(...) instead of `...`
* fix a recent modification to follow the same coding style as the
  rest of the file...  (mmm, consistency)
2003-09-30 05:07:40 +00:00
lukem
02ec5b66b9 add MKTEMP=${TOOL_MKTEMP:Q} to SETSENV 2003-09-30 04:58:20 +00:00
mycroft
4aa6d02a2d Maybe I'm just slow, but having diffs in the wrong direction confuses me... 2003-09-30 04:20:24 +00:00
mycroft
5e57353b7b Add P1003_1B_SEMAPHORE. 2003-09-30 03:57:36 +00:00
mycroft
af8bef6910 Catch up with MAXINTERP changing. 2003-09-30 03:41:33 +00:00
mycroft
7f2125f83b sysctl has moved. 2003-09-30 03:34:42 +00:00
mycroft
afea89cace Make this test actually *work*... 2003-09-30 03:29:08 +00:00
thorpej
4a178080ab Note new i2c code. 2003-09-30 00:39:19 +00:00
thorpej
2652188cc4 New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.
2003-09-30 00:35:30 +00:00
christos
f32195ffa6 turn off calendar -a by default and mention why. 2003-09-30 00:23:23 +00:00
christos
36b4e0b6e7 Fix off-by-one in PRC_NCMDS check. From FreeBSD via OpenBSD 2003-09-30 00:01:18 +00:00
grant
d2b2b89242 typo in comment 2003-09-29 23:31:04 +00:00
matt
de203a6459 Fix GCC3'ism's 2003-09-29 22:54:28 +00:00
jonathan
ffa9f8f5aa No copyrignt notice here (caught by Sam Leffler). Add the same two-clause
copyright I sent to Sam Leffler for the FreeBSD version.
2003-09-29 22:35:43 +00:00
matt
2298bf0a7a trap.c: Set ksi.ksi_trap to frame->trap.
sig_machdep.c:	Use ksi->ksi_addr in compat code to supply the
		'code' argument to the old signal routines.
2003-09-29 22:24:53 +00:00
matt
ec1689548e Set ksi_addr to frame->code. 2003-09-29 22:20:52 +00:00
tls
b911732f2a Increase default socket-buffer sizes from 16K to 32K. This increases
throughput significantly in a wide variety of test cases, including
local gigabit ethernet with both jumbo and standard frames,
transcontinental (U.S.) connections with e2e bandwidths ranging from
10Mbit/sec to 155Mbit/sec, and on a variety of test connections
between the NetBSD Project public servers and machines in Australia.

The impact of this change is less dramatic for high-delay connections
when Path MTU is in use but still measurable.

For optimal performance on local gigabit networks, a higher socket
buffer size (at least 64K) will still yield a substantial improvement
in performance, but 32K gets us most of the way there in my test
cases, with only a cost of _doubling_ memory use per socket rather
than _quadrupling_ it.

N.B. Windows NT, at least since Win2k SP2, uses a default socket buffer
     size (or their analogue thereof) of 64K, which is a useful data
     point.
2003-09-29 21:39:35 +00:00
dsl
13fd6f5a25 Fix rmdir -p x/y/z//
Remove redundant code.
2003-09-29 21:11:15 +00:00
matt
050d126a03 Add SA_SIGINFO support for VAX. 2003-09-29 21:04:53 +00:00
dbj
5c09d20130 Declare fs_old_flags and fs_flags as unsigned.
This fixes a bug introduced in revision 1.120 of ffs_vfsops dated 2003/09/13
which results in fs_flags having a value of 0x7fffff00 when a superblock
is updated to use the new layout.
Discussed in http://mail-index.netbsd.org/tech-kern/2003/09/28/0003.html
2003-09-29 20:34:23 +00:00
augustss
1aa1d2f8e2 The umass attach can fail in many ways. Print a message about why it
failed instead of just being silent about it.
2003-09-29 20:04:25 +00:00
mycroft
100f87c7ae Move several files (e.g. zipcodes) from base to misc. 2003-09-29 19:33:06 +00:00
martin
feb5c96dad In the thread support functions only transfer those registers, that fit
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +00:00