Matthew Dillon [Mon, 8 Nov 2004 16:11:05 +0000 (16:11 +0000)]
Add tip(1)'s emulation of cu(1) to tip's manual page.
Submitted-by: "H.Miyamoto" <Ys@PixyGarden.net>
Based-on: FreeBSD
Joerg Sonnenberger [Mon, 8 Nov 2004 10:28:48 +0000 (10:28 +0000)]
Fix a race condition in detach path of Ethernet devices. Most current
drivers do something like this:
XX_stop();
ether_ifdetach();
/* continue and assume device is dead now */
This doesn't work in many cases if a BPF user is left and IFF_PROMISC is
active, because bpfdetach does a reset of the timer for many drivers.
The fix is to move the call to if_down into ether_ifdetach, which gives
the expected behaviour.
Matthew Dillon [Sun, 7 Nov 2004 23:44:38 +0000 (23:44 +0000)]
The last commit created a memory leak because 'buf' is static. Fix that,
but also make the chosen block size more consistent by basing on the larger
of STDOUT vs rfd rather then just basing it on STDOUT, and change the
constant 1024 to BUFSIZ.
It is unclear whether we should impose a minimum buffer size or a mod
(e.g. x % st_blksize == 0) requirement as well. There are currently no cases
where this matters as anyone in their right mind will use 'dd' instead of
'cat' on special block devices. But at least in regards to /proc/*/map
imposing a minimum based on fstat(rfd, ...) makes sense, though to really
be correct we should also 'fix' procfs to report a block size sufficient to
hold the map data in that case.
Reported-by: Jason Smethers <jason@smethers.net>
Liam J. Foy [Sun, 7 Nov 2004 21:38:01 +0000 (21:38 +0000)]
- Remove space
Submitted by: The White Space and Void Destroyer aka Douwe Kiela.
Eirik Nygaard [Sun, 7 Nov 2004 20:54:52 +0000 (20:54 +0000)]
Remove not needed void casts.
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Eirik Nygaard [Sun, 7 Nov 2004 19:42:16 +0000 (19:42 +0000)]
style(9)
Liam J. Foy [Sun, 7 Nov 2004 19:29:27 +0000 (19:29 +0000)]
- Remove (void) casts that are not necessary.
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Sat, 6 Nov 2004 19:37:44 +0000 (19:37 +0000)]
Sync with FreeBSD rm(1) with my modifications. Some things have been
left out of this sync for time being.
- Fix the leakage of a file descriptor in rm_overwrite for non-fatal
errors(this is for rm -P).
- Fix the fatal malloc() error message.
- When the P flag is set (i.e. Overwrite regular files before deleting them),
do only unlink the file if we could indeed overwrite the file. See
http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/rm/rm.c?rev=1.45&content-type=text/x-cvsweb-markup
for more details.
- Fix poor wording in comment.
- When fts_read() cannot stat the file, it can't be unlinked. At
that case, don't display error message when -f flag is used.
- Kindly let the user know rm(1) could not overwrite non-regular
files and continue to unlink.
- Static functions.
- Constify rw_overwrite() and check().
Ok'ed by: kernel@ eirikn@ and dillon@
Eirik Nygaard [Sat, 6 Nov 2004 12:33:11 +0000 (12:33 +0000)]
Consify some variables.
This Removes some warnings.
Submitted by: Andreas Hauser <andy@splashground.de>
Eirik Nygaard [Sat, 6 Nov 2004 12:29:17 +0000 (12:29 +0000)]
#endif does not take an argument, comment it out.
Submitted by: Andreas Hauser <andy@splashground.de>
Add $DragonFly$ keyword to:
src/games/hack/config.h
src/games/hack/def.monst.h
src/games/hack/def.rm.h
src/games/hack/def.wseg.h
src/games/hack/hack.Decl.c
src/games/hack/hack.h
src/games/hack/hack.monst.c
Matthew Dillon [Fri, 5 Nov 2004 19:09:53 +0000 (19:09 +0000)]
Correct a typo and a mdoc(7) style issue.
Submitted-by: Xin LI <delphij@frontfree.net>
Originally-from: Dima Dorfman <dd@...>
Matthew Dillon [Fri, 5 Nov 2004 18:43:20 +0000 (18:43 +0000)]
Remove an assertion that used to double-check the cred passed into vn_open().
The assertion is no longer needed as the cred is allowed to be different,
and vn_open() may not be called from a process any more. In particular,
vn_open() may be called from the NDIS driver to open a firmware image file.
Reported-by: Andrew Atrens <atrens@nortelnetworks.com>
Matthew Dillon [Fri, 5 Nov 2004 17:47:48 +0000 (17:47 +0000)]
Fix a Trident DMA limitation. Symptom as reported by Brock was that his
laptop would lockup.
Submitted-by: Brock Johnson <wildefire@isentry.homelinux.org>
Taken-from: FreeBSD, rev 1.45 and 1.46
Matthew Dillon [Fri, 5 Nov 2004 17:36:05 +0000 (17:36 +0000)]
Give makewhatis an absolute path to make upgrading etc from single-user
mode easier.
Submitted-by: "Henrik N. Jensen" <hnj@unihost.net>
Matthew Dillon [Fri, 5 Nov 2004 17:13:44 +0000 (17:13 +0000)]
Bring in some more PCI ID's from FreeBSD.
Submitted-by: Andreas Hauser <andy@splashground.de>
Taken-from: FreeBSD
Matthew Dillon [Fri, 5 Nov 2004 17:05:26 +0000 (17:05 +0000)]
Add humanize_number(3) and split the trimdomain(3) function out from
logwtmp.
Submitted-by: "Douwe Kiela" <virtus@wanadoo.nl>
Taken-From: FreeBSD
Matthew Dillon [Fri, 5 Nov 2004 10:09:52 +0000 (10:09 +0000)]
Save and restore the 'version' counter file when doing a full buildkernel
or nativekernel target so the counter is not reset each time. Note that
the quickkernel target will increment the counter only if something has
changed.
Reported-by: walt <wa1ter@myrealbox.com>
Make some minor FBsd->DFly 'update' target cleanups.
Submitted-by: Michal Belczyk <diavul@bsd.krakow.pl>
Matthew Dillon [Fri, 5 Nov 2004 07:27:20 +0000 (07:27 +0000)]
Fix a possible remote DOS against pppd, described in detail at
http://www.securityfocus.com/archive/1/379450/2004-10-24/2004-10-30/0
Submitted-by: "Andre Nathan" <andre@digirati.com.br>
Taken-from: OpenBSD / same file rev 1.6
Matthew Dillon [Fri, 5 Nov 2004 03:12:03 +0000 (03:12 +0000)]
Note last commit: changes were made primarily to avoid global variable name
conflicts with library procedures, 'compress' in particular, that somehow
occured in one or more DragonFly configurations and caused savecore to
believe that the -z option had been specified when it had not.
David Rhodus [Thu, 4 Nov 2004 21:51:18 +0000 (21:51 +0000)]
Declare some of the local variables static.
Liam J. Foy [Thu, 4 Nov 2004 21:31:37 +0000 (21:31 +0000)]
- Remove unnecessary selection statement to see if buf == NULL.
- Don't use fileno to get stdout, just use STDOUT_FILENO
- Fix malloc err message
OK'ed by: Joerg and Jeroen
Joerg Sonnenberger [Thu, 4 Nov 2004 13:14:11 +0000 (13:14 +0000)]
Remove a.out support from base. Bumb WARNS to 6 for ldconfig.
Joerg Sonnenberger [Thu, 4 Nov 2004 12:30:53 +0000 (12:30 +0000)]
RIP gzip, we found a nicer playmate.
Joerg Sonnenberger [Thu, 4 Nov 2004 12:27:53 +0000 (12:27 +0000)]
Move libstdc++3 into the attic. It can be removed from the repo later.
Matthew Dillon [Wed, 3 Nov 2004 22:07:21 +0000 (22:07 +0000)]
Remove incorrect cache_purge() calls in *_rmdir() (OLD API). These could
result in a namecache mountpoint entry losing its vnode association under
the new API.
Panic-Reported-by: Stu
Matthew Dillon [Tue, 2 Nov 2004 23:49:38 +0000 (23:49 +0000)]
Fix 'route add -host <target> -interface <interface_name>. This was
previously adding a static arp entry with the interface's MAC address
instead of the target's address or an incomplete address. The result is
that the target cannot be routed to.
The fix is to (1) Install the route with 'incomplete' link level info rather
then using the interface's MAC address, (2) Allowing the incomplete address
to be resolved and timeout normally, (3) re-clearing the entry to an
incomplete status instead of destroying it when the ARP times out,
and (4) Making 'arp -d -a' only clear link level routes marked static
instead of deleting them.
Noticed-by: Mikhail Teterin <mi+dragonflybsd@aldan.algebra.com>
Liam J. Foy [Tue, 2 Nov 2004 19:38:49 +0000 (19:38 +0000)]
- Allow ipcs to display information about IPC mechanisms owned by
a user. The option for this is -u user. User can be a username or
a uid. Obtained from FreeBSD
- Allow ipcs to display information about IPC mechanisms owned by
a group. The option for this is -g group. Group can be a group name or
a gid. Wrote by me.
Ok'ed by: dillon@ and kernel@
Liam J. Foy [Sun, 31 Oct 2004 21:37:12 +0000 (21:37 +0000)]
Needed to add sys/types.h for previous commit. Spotted by Mr Dillon.
Eirik Nygaard [Sun, 31 Oct 2004 20:19:24 +0000 (20:19 +0000)]
Update the sysperf tools to match the current sysmsg functions.
sc1 times getuid() using the standard syscall method.
sc2 times getuid() using the new sysmsg method.
sc3 runs in an endless loop calling getuid() with the new sysmsg method.
Liam J. Foy [Sun, 31 Oct 2004 19:01:00 +0000 (19:01 +0000)]
The gr_gid member of the struct group should be gid_t
and not an int.
Submitted by: Douwe Kiela
Liam J. Foy [Sun, 31 Oct 2004 16:18:37 +0000 (16:18 +0000)]
Whoops! setmode(3) returns a void *, not mode_t *.
Jeroen Ruigrok/asmodai [Sun, 31 Oct 2004 11:11:54 +0000 (11:11 +0000)]
Remove leftover 'is'.
Jeroen Ruigrok/asmodai [Sun, 31 Oct 2004 11:09:44 +0000 (11:09 +0000)]
Document ENOMEM error case, note how strdup() is 1003:2004 sanctioned.
Jeroen Ruigrok/asmodai [Sun, 31 Oct 2004 10:31:21 +0000 (10:31 +0000)]
Add iso-C alias and p1003.1-2004 definition.
Joerg Sonnenberger [Sun, 31 Oct 2004 10:26:26 +0000 (10:26 +0000)]
We have to support uncompress by default, because zcat is used e.g.
by the port system for both gzip and compress files. Therefore
replace GZIP_UNCOMPRESS with NO_GZIP_UNCOMPRESS and the reverse meaning.
Jeroen Ruigrok/asmodai [Sun, 31 Oct 2004 10:14:03 +0000 (10:14 +0000)]
Add NetBSD 2.0 and DragonFly 1.1.
Liam J. Foy [Sun, 31 Oct 2004 00:43:14 +0000 (00:43 +0000)]
Fix cpdup man page. The option -v[vvv] should be -v[vv].
Submitted by: Sascha Wildner <saw@online.de>
Matthew Dillon [Sat, 30 Oct 2004 20:26:48 +0000 (20:26 +0000)]
Bring in Jeff Wheelhouse's CLOG / circular log file support for syslogd,
With some formatting changes.
Side note: CLOG's use of mmap within syslogd is very dangerous and could
lead to syslogd seg-faulting out, especially since the control structure
appears to reside at the end of the physical log file. Users of circular
log files must take care.
Requested-by: The MOB!
Matthew Dillon [Sat, 30 Oct 2004 18:48:31 +0000 (18:48 +0000)]
The PRId64 check was wrong, causing bootstrapping failures on
FreeBSD-4.x boxes.
Matthew Dillon [Sat, 30 Oct 2004 18:46:07 +0000 (18:46 +0000)]
The last fix wasn't good enough. This one causes the SWIDTH lines to be
ignored rather then mapped as 0.
Matthew Dillon [Sat, 30 Oct 2004 18:14:35 +0000 (18:14 +0000)]
Conditionalize _CTYPE_SW* for bootstrap purposes.
Reported-by: esmith <esmith@patmedia.net>
Liam J. Foy [Sat, 30 Oct 2004 13:34:50 +0000 (13:34 +0000)]
- Remove all registers in bin/. This saves us doing it each time we come
across them.
Ok'ed by: Joerg and kernel@
Jeroen Ruigrok/asmodai [Sat, 30 Oct 2004 12:14:14 +0000 (12:14 +0000)]
Add omitted space after 'while'.
Submitted by: Sascha Wildner
Asked to commit by: joerg
Joerg Sonnenberger [Sat, 30 Oct 2004 11:51:30 +0000 (11:51 +0000)]
Remove the old one-true-awk.
Liam J. Foy [Fri, 29 Oct 2004 17:09:09 +0000 (17:09 +0000)]
-Set WARNS to 6
-Add -b option. The option will print the time and date of
last reboot
-Update man page for the -b option
-Add DragonFly tag
Ok'ed by: Joerg
Subitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Fri, 29 Oct 2004 15:44:41 +0000 (15:44 +0000)]
Add special case for the german whois nameserver. Without the
'-T dn,ace -C US-ASCII' option one does only get:
$ whois nic.de
domain: nic.de
status: connect
More information available on:
http://www.denic.de/en/domains/technik/denic_whois-server/index.html
Obtained-From: FreeBSD
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Fri, 29 Oct 2004 15:18:53 +0000 (15:18 +0000)]
- Remove unnecessary (void) casts
- Use mkstemp over mktemp
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Fri, 29 Oct 2004 15:10:55 +0000 (15:10 +0000)]
- Bump WARNS to 6
- Remove unnecessary (void) casts
- Add $DragonFly$ tag
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Fri, 29 Oct 2004 13:52:53 +0000 (13:52 +0000)]
- Add $DragonFly$
- Add WARNS?= 6
- Static usage()
- Add setlocale() call
- Remove ? case
Jeroen Ruigrok/asmodai [Fri, 29 Oct 2004 06:03:21 +0000 (06:03 +0000)]
Use rune.h instead of runetype.h.
Add swidth definitions and lex code to mklocale.
Update manual page with character set encoding information.
Remove deprecated keyword.
Taken from: FreeBSD
Submitted by: Andreas Hauser
Jeroen Ruigrok/asmodai [Fri, 29 Oct 2004 05:55:50 +0000 (05:55 +0000)]
Add more locales:
Amharic (Ethiopic), Belarusian, Armenian, Kazakh, Korean, various Chinese
encodings.
Taken from: FreeBSD
Submitted by: Andreas Hauser
Jeroen Ruigrok/asmodai [Fri, 29 Oct 2004 05:44:40 +0000 (05:44 +0000)]
Add definitions for _CTYPE_SW[0-4MS].
Taken from: FreeBSD
Matthew Dillon [Thu, 28 Oct 2004 18:56:52 +0000 (18:56 +0000)]
unmount was not removing the negative hits associated with a mount point.
Assign ncp->nc_mount for all nodes and simplify cache_purgevfs() to handle
all cases.
Liam J. Foy [Thu, 28 Oct 2004 16:49:24 +0000 (16:49 +0000)]
-Setmode will deal with the octals, so we dont need to.
-Setmode can also be caused to fail because of malloc().
We test to see setmode() has failed. If it has we check errno.
If errno == 0 then we have an invalid file mode. If not malloc
has failed and we the print the error via err().
-Remove '?' case.
-Fix some data types. This is for the setmode fix above.
3 days with no objections has passed!
YONETANI Tomokazu [Thu, 28 Oct 2004 08:47:11 +0000 (08:47 +0000)]
`proto' field was forgotten in the previous commit.
Reported-By: Erik P. Skaalerud <erik (at) pentadon.com>
Joerg Sonnenberger [Wed, 27 Oct 2004 16:34:32 +0000 (16:34 +0000)]
Switch to libz-based gzip.
Joerg Sonnenberger [Wed, 27 Oct 2004 16:31:06 +0000 (16:31 +0000)]
Define PRId64 as "lld" for older systems laking support for it.
This is necessary e.g. for FreeBSD 4.9 to build.
Submitted-by: Matt Dillon
David Rhodus [Wed, 27 Oct 2004 16:09:32 +0000 (16:09 +0000)]
Since there isn't an authpf user we'll have to grep for the authpf
group member.
Noted by: walt <wa1ter@myrealbox.com>
Matthew Dillon [Wed, 27 Oct 2004 08:57:48 +0000 (08:57 +0000)]
Remove unused variable.
Matthew Dillon [Wed, 27 Oct 2004 08:52:06 +0000 (08:52 +0000)]
null_revoke() needs to return 0.
Matthew Dillon [Wed, 27 Oct 2004 03:43:47 +0000 (03:43 +0000)]
Fix a NULL pointer dereference panic that occurs when the TCP protocol
stack races against userland while closing a tcp connection. It is
possible for userland to queue a disconnect request but for the protocol
stack to then receive a packet that causes it to call tcp_drop()->tcp_close()
which also disconnects the inpcb from the tcpcb. When the protocol stack
then processes the disconnect request it hits the panic because the inpcb
no longer has a tcpcb connected to it.
The bug generally only occured on SMP systems where the latency in intra-cpu
communication opens up the window of opportunity for the bug to occur.
Panic-Reported-by: Adam K Kirchhoff <adamk@voicenet.com>
Matthew Dillon [Wed, 27 Oct 2004 02:51:41 +0000 (02:51 +0000)]
Add a section to UPDATING describing the users and groups that might have
to be added.
Remove the authpf user requirement. Only an authpf group is required.
Reported-by: esmith <esmith@patmedia.net>
Matthew Dillon [Tue, 26 Oct 2004 22:10:13 +0000 (22:10 +0000)]
Fix a seg-fault if -l is used without a /dev prefix, e.g. cu -l cuaa0. Of
course, this still fails because -l expects a device path, but at least now
it doesn't seg-fault.
Reported-by: Mark Cullen <mark.cullen@dsl.pipex.com>
Joerg Sonnenberger [Tue, 26 Oct 2004 19:14:18 +0000 (19:14 +0000)]
Change the variable from CCVER_DEFAULT to OBJFORMAT_BUILTIN_CCVER_DEFAULT
and BINUTILSVER_DEFAULT to OBJFORMAT_BULTIN_BINUTILSVER_DEFAULT.
Wanted-better-name: Matthew Dillon
Joerg Sonnenberger [Tue, 26 Oct 2004 19:06:02 +0000 (19:06 +0000)]
Change the way binutils versions are handled. Depending on CCVER,
either BINUTILSVER_GCC2 (CCVER == gcc2), BINUTILSVER_GCC34 (CCVER == gcc34)
or BINUTILSVER_DEFAULT (other values of CCVER) are choosen.
The BINUTILSVER_DEFAULT knop is intended for developers, normal users
should have no reason to set it.
Joerg Sonnenberger [Tue, 26 Oct 2004 16:34:37 +0000 (16:34 +0000)]
gcc3 ==> gcc34
David Rhodus [Tue, 26 Oct 2004 16:14:55 +0000 (16:14 +0000)]
Check that the authpf user and group are installed before starting the
installworld process.
Joerg Sonnenberger [Tue, 26 Oct 2004 11:27:46 +0000 (11:27 +0000)]
Add support to specify the default compiler and binutil version in
/etc/make.conf.
Use entries of the form
CCVER_DEFAULT= gcc34
BINUTILSVER_DEFAULT= binutils214
to use gcc34 and the new binutils by default.
Add the DragonFly copyright to objformat.c.
Joerg Sonnenberger [Tue, 26 Oct 2004 11:19:31 +0000 (11:19 +0000)]
Add gzip based on libz. This is faster for decompression and yields
better compression than GNU gzip (300 KB for the plan9 ISO image).
The optional support for decompression of compress and bzip2 is disabled,
the normal frontends should be used instead. They can be activated by
setting GZIP_UNCOMPRESS and GZIP_UNBZIP2 respectively.
The only missing features from GNU gzip are the omission of zip support
(it could only handle the first entry anyway) and unpack support.
This differs from the NetBSD version in that all compile time warnings
has been fixed.
Obtained-from: NetBSD
Joerg Sonnenberger [Tue, 26 Oct 2004 10:40:48 +0000 (10:40 +0000)]
Remove GNU-CSU Makefile
Joerg Sonnenberger [Tue, 26 Oct 2004 10:34:14 +0000 (10:34 +0000)]
Remove the GCC 3.3 library build framework.
Joerg Sonnenberger [Tue, 26 Oct 2004 10:33:07 +0000 (10:33 +0000)]
RIP GNU patch.
Joerg Sonnenberger [Tue, 26 Oct 2004 10:22:11 +0000 (10:22 +0000)]
- fix order problem in Makefile, Makefile.${ARCH} has to be included before
the init.c rule, otherwise the gdbarch init fails
- fix the one occurence of __FreeBSD__ in gdb sources
Matthew Dillon [Tue, 26 Oct 2004 04:33:11 +0000 (04:33 +0000)]
Fix bugs in the vm_map_entry reservation and zalloc code. This code is a bit
sticky because zalloc must be able to call kmem_alloc*() in order to extend
mapentzone to allocate a new chunk of vm_map_entry structures, and
kmem_alloc*() *needs* two vm_map_entry structures in order to map the new
data block into the kernel. To avoid a chicken-and-egg recursion there must
already be some vm_map_entry structures available for kmem_alloc*() to use.
To ensure that structures are available the vm_map_entry cache maintains
a 'reserve'. This cache is initially populated from the vm_map_entry's
allocated via zbootinit() in vm_map.c. However, since this is a per-cpu
cache there are situations where the vm_map subsystem will be used on other
cpus before the cache can be populated on those cpus, but after the static
zbootinit structures have all been used up. To fix this we statically
allocate two vm_map_entry structures for each cpu which is sufficient for
zalloc to call kmem_alloc*() to allocate the remainder of the reserve.
Having a lot preloaded modules seems to be able to trigger the bug.
Also get rid of gd_vme_kdeficit which was a confusing methodology to
keep track of kernel reservations. Now we just have gd_vme_avail and
a negative count indicates a deficit (the reserve is being dug into).
From-panic-reported-by: Adam K Kirchhoff <adamk@voicenet.com>
Matthew Dillon [Tue, 26 Oct 2004 04:22:32 +0000 (04:22 +0000)]
Document bus_dmamem_alloc() a bit more.
Liam J. Foy [Mon, 25 Oct 2004 22:04:18 +0000 (22:04 +0000)]
- Fix some sentences
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Mon, 25 Oct 2004 22:01:06 +0000 (22:01 +0000)]
- Remove registers
- Remove unnecessary (void) casts
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Liam J. Foy [Mon, 25 Oct 2004 21:48:37 +0000 (21:48 +0000)]
- Remove main() proto
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
David Rhodus [Mon, 25 Oct 2004 19:39:09 +0000 (19:39 +0000)]
Remove register keyword usage.
Add missing $DragonFly$ keyword to the following files:
src/lib/libc/db/btree/bt_utils.c
src/lib/libc/db/hash/hash_log2.c
src/lib/libc/net/getproto.c
src/lib/libc/net/getprotoent.c
src/lib/libc/net/getprotoname.c
src/lib/libc/net/getservbyname.c
src/lib/libc/net/getservbyport.c
src/lib/libc/net/iso_addr.c
src/lib/libc/net/linkaddr.c
src/lib/libc/net/ns_ntoa.c
src/lib/libc/quad/muldi3.c
src/lib/libc/quad/qdivrem.c
src/lib/libc/rpc/authdes_prot.c
src/lib/libc/rpc/key_prot_xdr.c
src/lib/libcompat/4.3/insque.c
src/lib/libcompat/4.3/lsearch.c
src/lib/libcompat/4.3/remque.c
src/lib/libcompat/4.4/cuserid.c
src/lib/libcompat/regexp/regexp.c
src/lib/libcompat/regexp/regsub.c
src/lib/libcr/db/btree/bt_utils.c
src/lib/libcr/db/hash/hash_log2.c
src/lib/libcr/net/getproto.c
src/lib/libcr/net/getprotoent.c
src/lib/libcr/net/getprotoname.c
src/lib/libcr/net/getservbyname.c
src/lib/libcr/net/getservbyport.c
src/lib/libcr/net/iso_addr.c
src/lib/libcr/net/linkaddr.c
src/lib/libcr/net/ns_ntoa.c
src/lib/libcr/quad/muldi3.c
src/lib/libcr/quad/qdivrem.c
src/lib/libcr/rpc/authdes_prot.c
src/lib/libcr/rpc/key_prot_xdr.c
src/lib/libedit/common.c
src/lib/libedit/emacs.c
src/lib/libipx/ipx_ntoa.c
src/lib/libm/common_source/fmod.c
src/lib/libstand/ether.c
src/lib/libstand/fstat.c
src/lib/libstand/gets.c
src/lib/libstand/ioctl.c
src/lib/libstand/netif.c
src/lib/libstand/rarp.c
src/lib/libstand/rpc.c
src/lib/libstand/strcasecmp.c
src/lib/libstand/strtol.c
src/lib/libstand/write.c
Matthew Dillon [Mon, 25 Oct 2004 19:14:34 +0000 (19:14 +0000)]
Remove the vfs page replacement optimization and its ENABLE_VFS_IOOPT option.
This never worked properly... that is, the semantics are broken compared to
a normal read or write in that the read 'buffer' will be modified out from
under the caller if the underlying file is.
What is really needed here is a copy-on-write feature that works in both
directions, similar to how a shared buffer is copied after a fork() if either
the parent or child modify it. The optimization will eventually rewritten
with that in mind but not right now.
Liam J. Foy [Mon, 25 Oct 2004 18:25:36 +0000 (18:25 +0000)]
-Remove main proto
-Static usage()
-Add setlocale() call
-Remove '?' case
-Remove unnecessary casts
Liam J. Foy [Mon, 25 Oct 2004 17:09:40 +0000 (17:09 +0000)]
Test commit! Thanks eirikn!
Hidetoshi Shimokawa [Mon, 25 Oct 2004 13:53:27 +0000 (13:53 +0000)]
Sync with FreeBSD-current:
- Split dcons core and OS dependent part.
- Use dcons buffer passed by loader(8).
- Invalidate dcons buffer on shutdown.
Hidetoshi Shimokawa [Mon, 25 Oct 2004 13:48:42 +0000 (13:48 +0000)]
Preserve dcons(4) buffer passed by loader(8).
Joerg Sonnenberger [Mon, 25 Oct 2004 13:35:42 +0000 (13:35 +0000)]
Good bye, GNU awk. RIP
Matthew Dillon [Mon, 25 Oct 2004 08:57:50 +0000 (08:57 +0000)]
Fix a compiler warning by pre-declaring struct vnode;
Matthew Dillon [Sun, 24 Oct 2004 22:43:58 +0000 (22:43 +0000)]
Synchronize bug fixes from FreeBSD/RELENG_4.
Matthew Dillon [Sun, 24 Oct 2004 22:40:41 +0000 (22:40 +0000)]
Add a default for X_WINDOW_SYSTEM in the dfports override case.
Reported-by: Adam K Kirchhoff <adamk@voicenet.com>
Scott Ullrich [Sun, 24 Oct 2004 20:05:07 +0000 (20:05 +0000)]
Change DFD to DFB to remain consistent.
Noticed-by: Sean Kelley <sean.kuxi _AT_ gmail.com>
Joerg Sonnenberger [Sun, 24 Oct 2004 19:56:26 +0000 (19:56 +0000)]
Merge from vendor branch GDB:
Import GDB 6.2.1 as obtained from ftp.gnu.org without the files in
README.DELETED.
Joerg Sonnenberger [Sun, 24 Oct 2004 19:56:26 +0000 (19:56 +0000)]
Import GDB 6.2.1 as obtained from ftp.gnu.org without the files in
README.DELETED.
Joerg Sonnenberger [Sun, 24 Oct 2004 19:17:21 +0000 (19:17 +0000)]
Complete doc infrastructure.
Joerg Sonnenberger [Sun, 24 Oct 2004 19:05:39 +0000 (19:05 +0000)]
Add the info pages for GDB 6. The inc-hist.texinfo and rluser.texinfo are
copies from the gdb-6.2.1/readline/doc, this way it is easier to specify the
delete list. The corresponding files from readline-5.0 give problems, so I
can't use them without figuring out what is wrong.
Matthew Dillon [Sun, 24 Oct 2004 18:36:05 +0000 (18:36 +0000)]
Synchronize a few libi386 issues from FreeBSD. Fix a bounce buffer bug,
a possible stack overflow in an OemId copy, an EBDA search bug, and ignore
devices with invalid sector size specifications in lsdev.
Taken-from: FreeBSD
Joerg Sonnenberger [Sun, 24 Oct 2004 18:12:11 +0000 (18:12 +0000)]
Hide prototype for tilde_expand, it's incorrect now.
Submitted-by: Simon 'corecode' Schubert
Joerg Sonnenberger [Sun, 24 Oct 2004 18:05:10 +0000 (18:05 +0000)]
Forced commit to add missing annotations.
Obtained-from: devel/gdb6, FreeBSD ports collection
Joerg Sonnenberger [Sat, 23 Oct 2004 17:02:38 +0000 (17:02 +0000)]
Build framework for GDB 6.2.1.
Joerg Sonnenberger [Sat, 23 Oct 2004 16:58:53 +0000 (16:58 +0000)]
Merge from vendor branch READLINE:
Import GNU readline 5.0.
Submitted-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Joerg Sonnenberger [Sat, 23 Oct 2004 16:58:53 +0000 (16:58 +0000)]
Import GNU readline 5.0.
Submitted-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Joerg Sonnenberger [Sat, 23 Oct 2004 16:58:53 +0000 (16:58 +0000)]
Import GNU readline 5.0.
Submitted-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>