Tim J. Robbins
4ff2396545
Respect locale settings from the environment.
2004-07-15 08:13:56 +00:00
Alfred Perlstein
bb5faea34f
Cleanup shutdown output.
2004-07-15 08:01:00 +00:00
Peter Pentchev
a2f87f4268
A couple of grammar fixes in the bktr options section.
...
PR: 66828 (mostly)
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 2 weeks
2004-07-15 07:52:27 +00:00
Peter Pentchev
19344055db
Fix 'camcontrol rescan' syntax and use the proper indentation for
...
the FILES list.
PR: 66827
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 2 weeks
2004-07-15 07:34:14 +00:00
Tim J. Robbins
fe1ba53cff
Don't pass negative values into <ctype.h> functions on machines
...
with signed chars.
2004-07-15 07:33:56 +00:00
Tim J. Robbins
ee6b783c62
Print size_t with %zu, not %d.
2004-07-15 07:30:15 +00:00
Tim J. Robbins
c5453cb4db
Respect locale settings from the environment.
2004-07-15 07:26:20 +00:00
Tim J. Robbins
be12aba0e0
Add incorrect multibyte character handling to the already long list
...
of bugs.
2004-07-15 06:59:34 +00:00
Tim J. Robbins
c7fcd3025b
Use freopen() instead of a nasty hack.
2004-07-15 06:57:36 +00:00
Tim J. Robbins
d1573e5841
Document incorrect handling of multibyte characters.
2004-07-15 06:43:52 +00:00
Tim J. Robbins
5d8c7c7ed6
Ensure that suffix matches occur on character boundaries.
2004-07-15 06:15:10 +00:00
Tim J. Robbins
8a68dbeb38
Document line length and multibyte character limitations.
2004-07-15 05:12:04 +00:00
Murray Stokely
e271bcb2db
Remove Walnut Creek CDROM script that Jordan wrote in the 90s.
...
This functionality is largely in src/release/${ARCH}/mkisofs.sh now.
PR: docs/43569
2004-07-15 05:04:39 +00:00
Tim J. Robbins
d88ccf5dca
Use err() instead of perror(), exit().
2004-07-15 04:56:41 +00:00
John Baldwin
db8714af52
Remove some serious foot-shooting potential from the release Makefile. For
...
some unknown reason, when LOCAL_PATCHES and LOCAL_SCRIPT were originally
added, they were silently ignored if the actual file did not exist. As a
result, if one mistyped the pathname to a patch or script, then the release
silently succeeded. However, it was not built with the desired changes and
no warning was given to inform the builder either. This commit explicitly
checks to see that all of the defined patches and scripts exist up front
and bails if any of them do not exist. I lost several hours of valuable
sleeping time this evening due to this "feature" so I've finally gone and
ripped out. I've tripped over this in the past several other times as
well.
Glanced at by: scottl
2004-07-15 04:52:57 +00:00
Tim J. Robbins
208f2fd1ed
Use warn() instead of perror().
2004-07-15 04:51:21 +00:00
David Xu
2136835712
Add libthread_db assisted debugging support module.
2004-07-15 04:51:04 +00:00
Tim J. Robbins
7bd73b069c
Use warn() instead of perror().
2004-07-15 04:45:24 +00:00
Alfred Perlstein
da6303bacc
Tidy up system shutdown.
2004-07-15 04:29:48 +00:00
David Xu
b87323363c
type prgregset_t really should be an array. this is odd, however, other
...
systems defined interfaces in thread_db.h use prgregset_t but not
prgregset_t * to be a output parameter, this is the only way to maintain
source code compatible with them.
2004-07-15 03:52:17 +00:00
Alfred Perlstein
a88295bb83
Disable SIGIO for now, leave a comment as to why it's busted and hard
...
to fix.
2004-07-15 03:49:52 +00:00
David Xu
a3d4136ade
Add proc_service.h, the common file both debugger and libthread_db will
...
use, program wants to load libthread_db.so should provid proc service
interface.
2004-07-15 03:43:18 +00:00
David Xu
a31a256002
Add my initial work of libthread_db. The library is used by gdb to debug
...
threaded process. Current, only libpthread is supported, but macrel will
work on it to support libthr and libc_r.
2004-07-15 03:36:35 +00:00
Nate Lawson
8916adb1c9
Clean up the output on reboot by keeping completion messages on the same
...
line as the announcement. Someone should probably update the "buffers
remaining" message since we now no longer should have any buffers remaining
at that point.
2004-07-15 03:20:08 +00:00
Alan Cox
72826d0f4a
A loop in pmap_remove() should use TAILQ_FOREACH_SAFE(), not
...
TAILQ_FOREACH(), because the loop deletes elements from the list.
Reviewed by: marcel@
2004-07-15 03:20:00 +00:00
Tim Kientzle
b9916968df
Make the day/month ordering dependent on the current locale by
...
testing the locale at program startup and setting a flag, then
using that flag to determine appropriate strftime() arguments.
2004-07-15 03:14:46 +00:00
Tim Kientzle
6a1d1828e7
Style: rename 'mkdirpath' so it's clearer exactly what it does.
...
(To be precise, it creates the parent dir of the provided path.)
2004-07-15 03:13:27 +00:00
Poul-Henning Kamp
e2ad640e13
A module with no modevent function gets modevent_nop() as default.
...
Until now the function has just returned zero for any event, but
that is downright wrong for MOD_UNLOAD and not very useful for any
future events we add where it may be crucial to be able to tell
if the event was unhandled or successful.
Change the function to return as follows:
MOD_LOAD -> 0
MOD_UNLOAD -> EBUSY
anything else -> EOPNOTSUPP
2004-07-14 22:37:36 +00:00
Nate Lawson
6f41379967
Add a comment separator.
2004-07-14 22:09:32 +00:00
Simon L. B. Nielsen
7a5183e87d
Add a HARDWARE section which lists supported devices. The actual
...
device listings has been moved (and in some cases more or less
rewritten) from the DESCRIPTION section.
2004-07-14 21:58:17 +00:00
Robert Watson
6f7d64c44a
Add a note indicating that the eh_prototype field used to construct
...
ethernet headers is unsynchronized.
2004-07-14 20:31:37 +00:00
Robert Watson
c61340f374
Add a mutex ng_tty_mtx to protect the global variable ngt_unit. Note
...
that the locking of globals here isn't complete, and there's also a
locking issue relating to calling into and out of the tty code.
2004-07-14 20:31:05 +00:00
Robert Watson
489264ddae
Add ng_ppp_latencies_mtx, a global mutex to protect the latency list.
...
Note that the table is a hack, and so is this mutex.
Reviewed by: glebius
2004-07-14 20:29:54 +00:00
Robert Watson
544fc3d562
Introduce a new mutex, ng_fec_mtx, to protect the global unit list to
...
synchronization allocation of FEC unit numbers.
Reviewed by: glebius
2004-07-14 20:27:33 +00:00
Robert Watson
dffa5be1a4
Introduce a new mutex, ng_eiface_mtx, to protect the global unit list
...
lock used to synchronize allocation of unit numbers for new netgraph
ethernet interfaces.
Reviewed by: glebius
2004-07-14 20:26:29 +00:00
Robert Watson
9a668fa4d8
Introduce a new mutex, ng_iface_mtx, to protect the global unit list
...
lock used to synchronize allocation of unit numbers for new netgraph
interfaces.
Reviewed by: glebius
Tested by: glebius
2004-07-14 20:24:21 +00:00
Mark Santcroos
9b7b2aeff6
Some laptops report the "design-capacity" instead of the "real-capacity"
...
when the battery is fully charged. That breaks some of the arithmetic in
calculating the remaining capacity (ends up with more than 100%).
This commit makes sure the max is 100.
Approved by: njl
2004-07-14 19:31:31 +00:00
Christian S.J. Peron
ed6c545cf0
In addition to the real user ID check, do an explicit jail
...
check to ensure that the caller is not prison root.
The intention is to fix file descriptor creation so that
prison root can not use the last remaining file descriptors.
This privilege should be reserved for non-jailed root users.
Approved by: bmilekic (mentor)
2004-07-14 19:04:31 +00:00
John Baldwin
0c9cb34441
Correct bounds check in lapic_create().
...
Submitted by: "Ted Unangst" tedu at coverity.com
2004-07-14 18:12:15 +00:00
Dag-Erling Smørgrav
09a23520c0
Unbreak LINT: device card no longer takes a count.
2004-07-14 17:50:08 +00:00
Poul-Henning Kamp
d8d3d4158b
Make sure to update the mnt_stats before UFS1 extattr tried to
...
do I/O on the device. Otherwise the blocksize is undefined in the
buffer cache.
2004-07-14 14:19:32 +00:00
Pawel Jakub Dawidek
b03d330986
Add a reference to glabel(8).
2004-07-14 13:32:00 +00:00
Max Laier
bfe4641596
Fix a copy-and-paste-o in IFQ_DRV_PREPEND - all pointyhats to me.
...
While here also fix a (not less stupid) braino in IFQ_DRV_PURGE.
Reported-by: clement
Tested-by: clement (_PREPEND in sis(4))
2004-07-14 13:31:41 +00:00
Brian Somers
7cbe26069c
Remove a stray backslash
2004-07-14 13:31:17 +00:00
Tim J. Robbins
220d8b581a
Document the -E and -a options as being extensions.
2004-07-14 10:37:21 +00:00
Tim J. Robbins
8b086367a0
Update BUGS section to reflect current state of multibyte character support.
2004-07-14 10:33:29 +00:00
Tim J. Robbins
81a8648adb
Make the 'y' (translate) command aware of multibyte characters.
2004-07-14 10:06:22 +00:00
Tim J. Robbins
c75b843169
Fix description of cmap_lookup_hard().
2004-07-14 08:36:09 +00:00
Tim J. Robbins
9aed43ae23
Remove unused member of struct csclass: csc_value.
2004-07-14 08:35:11 +00:00
Tim J. Robbins
cfab3bdd89
Splay the left and right subtrees on min - 1 and max + 1, respectively,
...
before trying to coalesce. Forgetting to splay caused us to miss many
opportunities for coalescing.
2004-07-14 08:33:14 +00:00