| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
LC_ALL takes precedence over other LC_* envariables.
Notes:
svn path=/head/; revision=73349
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
: LC_TIME This variable shall determine the format and
: contents of date and time strings when the -v
: option is specified.
Developers took this wrong. LC_TIME specifies the locale
name, not the ``format'' argument of strftime().
Oops:
pax -w -f /tmp/foo /dev/null
LC_TIME=de_DE.ISO_8859-1 pax -v -f /tmp/foo
Notes:
svn path=/head/; revision=73345
|
|
|
|
|
|
|
| |
Submitted by: Naoki Kobayashi <shibata@geo.titech.ac.jp>
Notes:
svn path=/head/; revision=73342
|
|
|
|
| |
Notes:
svn path=/head/; revision=73341
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The below text is quoted from the latest POSIX draft:
: The values of locale categories shall be determined by a precedence
: order; the first condition met below determines the value:
:
: 1. If the LC_ALL environment variable is defined and is not null,
: the value of LC_ALL shall be used.
: 2. If the LC_* environment variable (LC_COLLATE, LC_CTYPE, LC_MESSAGES,
: LC_MONETARY, LC_NUMERIC, LC_TIME) is defined and is not null, the
: value of the environment variable shall be used to initialize the
: category that corresponds to the environment variable.
: 3. If the LANG environment variable is defined and is not null, the
: value of the LANG environment variable shall be used.
: 4. If the LANG environment variable is not set or is set to the empty
: string, the implementation-defined default locale shall be used.
The conditions 1 and 2 were interchanged, i.e., LC_* were looked first,
then LC_ALL, then LANG (note that LC_ALL and LANG were essentially the
same, providing the default, with LC_ALL taking precedence over LANG).
Now, LC_ALL and LANG serve the different purposes. LC_ALL overrides
any LC_*, and LANG provides the default fallback.
Testcase:
/usr/bin/env LC_ALL=C LC_TIME=de_DE.ISO_8859-1 /bin/date
Should return date in the "C" locale format.
Inspired by: date(1) reference page in the Draft
Notes:
svn path=/head/; revision=73340
|
|
|
|
| |
Notes:
svn path=/head/; revision=73339
|
|
|
|
| |
Notes:
svn path=/head/; revision=73337
|
|
|
|
|
|
|
|
| |
the FSF/GCC people in the stock 2.97 source that is like our custom change
modulo the conditional compilation symbol.
Notes:
svn path=/head/; revision=73325
|
|
|
|
| |
Notes:
svn path=/head/; revision=73324
|
|
|
|
|
|
|
|
|
| |
need to manually force the network_interfaces variable in /etc/rc.conf,
and it only ever gets in the way. rc.network and rc.network6 DTRT with
the default of 'auto'. This should have died over a year ago.
Notes:
svn path=/head/; revision=73322
|
|
|
|
| |
Notes:
svn path=/head/; revision=73321
|
|
|
|
|
|
|
|
|
|
| |
Don't treat pointer as a boolean, but instead test it against NULL.
Add warning for groups that don't exist
Submitted by: ru
Notes:
svn path=/head/; revision=73320
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a pretty invasive change, but there are three good
reasons to do this:
1. We'll never have > 16 bits of handle.
2. We can (eventually) enable the RIO (Reduced Interrupt Operation)
bits which return multiple completing 16 bit handles in mailbox
registers.
3. The !)$*)$*~)@$*~)$* Qlogic target mode for parallel SCSI spec
changed such that at_reserved (which was 32 bits) was split into
two pieces- and one of which was a 16 bit handle id that functions
like the at_rxid for Fibre Channel (a tag for the f/w to correlate
CTIOs with a particular command). Since we had to muck with that
and this changed the whole handler architecture, we might as well...
Propagate new at_handle on through int ct_fwhandle. Follow
implications of changing to 16 bit handles.
These above changes at least get Qlogic 1040 cards working in target
mode again. 1080/12160 cards don't work yet.
In isp.c:
Prepare for doing all loop management in outer layers.
Notes:
svn path=/head/; revision=73319
|
|
|
|
|
|
|
|
|
|
| |
malloc with M_WAITOK can't actually return NULL. I wish I could get two
people to give me the same answer about this when I ask...
Submitted by: jake
Notes:
svn path=/head/; revision=73318
|
|
|
|
|
|
|
| |
has been fixed.
Notes:
svn path=/head/; revision=73316
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with egcs-1.1.1. bus_space_write_multi_2() had an extra operation that
should have been removed.
Remove it.
This fixes the panic when bus_space_write_multi_2() is used.
Obtained from: jake
Notes:
svn path=/head/; revision=73314
|
|
|
|
|
|
|
|
|
|
| |
- Add a KASSERT() to ensure an ithread has a backing kernel thread when we
schedule it.
- Don't attempt to preemptively switch to an ithread if p_stat of curproc
is not SRUN.
Notes:
svn path=/head/; revision=73313
|
|
|
|
| |
Notes:
svn path=/head/; revision=73311
|
|
|
|
|
|
|
| |
resource_query_string man page.
Notes:
svn path=/head/; revision=73310
|
|
|
|
|
|
|
|
|
|
|
|
| |
resource_query_unit and improve the descriptions of the parameters
passed to these functions.
Plus a couple minor formatting/markup changes:
o Quote -1 as \-1.
o .Dq hints to match resource_int_value().
Notes:
svn path=/head/; revision=73309
|
|
|
|
| |
Notes:
svn path=/head/; revision=73307
|
|
|
|
|
|
|
|
|
|
| |
of stuff (and thus length of error output) we put on the invocation command
line. Also follow the new FSF/GNU style of giving the symbol a value so it
can be used in `if()' statements in addition to `#if' so seldomly compiled
in code (on some platforms) gets compiled always, to help reduce bit-rot.
Notes:
svn path=/head/; revision=73306
|
|
|
|
|
|
|
|
|
|
| |
header to reduce the difference of our sources to the stock GNU/FSF ones.
While the mix binary format support was nice to have in the FreeBSD MI
header as a frame work, it just clutters up too much and makes the FreeBSD
MI header more different from the FSF/GNU stock one than it needs to be.
Notes:
svn path=/head/; revision=73305
|
|
|
|
|
|
|
|
|
| |
into the i386 MD FreeBSD header. Also comment tweaking, continuation line
style changes, and other minor changes to make this closer to the latest
FSF/GNU 3.0 sources (to reduce my headache when 3.0 is imported).
Notes:
svn path=/head/; revision=73304
|
|
|
|
|
|
|
| |
Submitted by: ume
Notes:
svn path=/head/; revision=73303
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
newbus in revision 1.19. As a result, lnc was, I believe, broken
for all PCI cards. The softc fields `lnc_btag' and `lnc_bhandle'
were not initialised, `rap', `rdp' and `bdp' were initialised to
the wrong values, and the size of the DMA ring memory was calculated
incorrectly.
Paul Richards has further cleanups in the pipeline, but this at
least is enough to make the driver usable with VMware.
Approved by: paul
Notes:
svn path=/head/; revision=73302
|
|
|
|
|
|
|
|
|
|
| |
Suggest mergemaster in the 4.x-stable -> current upgrade (fenner)
correct path to hints file (fenner)
Submitted by: dufault, fenner.
Notes:
svn path=/head/; revision=73300
|
|
|
|
|
|
|
| |
Forgotten by: peter
Notes:
svn path=/head/; revision=73298
|
|
|
|
| |
Notes:
svn path=/head/; revision=73297
|
|
|
|
|
|
|
|
|
|
|
|
| |
ida crashdumps, login exports PAM environment variables, wall -g,
make.conf CPUTYPE, CVS_RSH default now ssh.
Updated release notes: ahc(4) updates, ICMP and TCP RSTs, random(4),
MFCs noted: rc.syscons.
Notes:
svn path=/head/; revision=73291
|
|
|
|
|
|
|
|
|
|
|
| |
is to return EINPROGRESS, EALREADY, (so_error ONCE), EISCONN. Certain
linux applications rely on the so_error (normally 0) being returned in
order to operate properly.
Tested by: Thomas Moestl <tmoestl@gmx.net>
Notes:
svn path=/head/; revision=73288
|
|
|
|
|
|
|
| |
Obtained from: Constantine Sapuntzakis <csapuntz@stanford.edu>
Notes:
svn path=/head/; revision=73287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An initial tidyup of the mount() syscall and VFS mount code.
This code replaces the earlier work done by jlemon in an attempt to
make linux_mount() work.
* the guts of the mount work has been moved into vfs_mount().
* move `type', `path' and `flags' from being userland variables into being
kernel variables in vfs_mount(). `data' remains a pointer into
userspace.
* Attempt to verify the `type' and `path' strings passed to vfs_mount()
aren't too long.
* rework mount() and linux_mount() to take the userland parameters
(besides data, as mentioned) and pass kernel variables to vfs_mount().
(linux_mount() already did this, I've just tidied it up a little more.)
* remove the copyin*() stuff for `path'. `data' still requires copyin*()
since its a pointer into userland.
* set `mount->mnt_statf_mntonname' in vfs_mount() rather than in each
filesystem. This variable is generally initialised with `path', and
each filesystem can override it if they want to.
* NOTE: f_mntonname is intiailised with "/" in the case of a root mount.
Notes:
svn path=/head/; revision=73286
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of memory, rather than from the start.
This fixes problems allocating bouncebuffers on alphas where there is only
1 chunk of memory (unlike PCs where there is generally at least one small
chunk and a large chunk). Having 1 chunk had been fatal, because these
structures take over 13MB on a machine with 1GB of ram. This doesn't leave
much room for other structures and bounce buffers if they're at the front.
Reviewed by: dfr, anderson@cs.duke.edu, silence on -arch
Tested by: Yoriaki FUJIMORI <fujimori@grafin.fujimori.cache.waseda.ac.jp>
Notes:
svn path=/head/; revision=73282
|
|
|
|
|
|
|
|
|
|
| |
isn't.
Obtained from: NetBSD
Confirmed by: ru, wollman
Notes:
svn path=/head/; revision=73281
|
|
|
|
|
|
|
|
|
|
| |
I could find. I have no doubt missed a couple.
Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.
Notes:
svn path=/head/; revision=73280
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=73279
|
|
|
|
| |
Notes:
svn path=/head/; revision=73278
|
|
|
|
|
|
|
|
|
| |
during the boot process. We're turning it on by default, based on the
actual presence of a configured ethernet card, and/or ppp/tun devices.
Of course, it's easy to disable in rc.conf.
Notes:
svn path=/head/; revision=73277
|
|
|
|
|
|
|
|
|
| |
should fix recent segfault of `pkg_info -e'.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>, knu
Notes:
svn path=/head/; revision=73276
|
|
|
|
|
|
|
|
| |
The first bug is fixed in tmac.doc, revision 1.21.
The second bug fixed in doc-common, revision 1.33.
Notes:
svn path=/head/; revision=73275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Example:
.Sh SYNOPSIS
.Nm natd
.Fl unregistered-only
.Fl proxy-only
.Fl deny-incoming
.Fl use-sockets
.Fl same-ports
Ported from: mdocNG
Notes:
svn path=/head/; revision=73274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the -tag list definition didn't have a -width modifier,
the first .It call was supposed to set the width depending
on the first argument type; if it is a macro name, use the
macro's width value; otherwise, use width value of `No'.
The following two lists should produce identical output:
.Bl -tag -width Er -compact
.It Er EINVAL
invalid argument
.El
.Bl -tag -compact
.It Er EINVAL
invalid argument
.El
If the outermost -tag list definition did't have a -width
modifier, the .It elements of inner lists might not work
(producing a list where each successive element `walks' to
the right).
Example:
.Bl -tag -compact
.It outer
.It outer
.Bl -tag -compact
.It inner
.It inner
.El
.It outer
.It outer
.El
Ported from: mdocNG
Notes:
svn path=/head/; revision=73273
|
|
|
|
| |
Notes:
svn path=/head/; revision=73272
|
|
|
|
| |
Notes:
svn path=/head/; revision=73271
|
|
|
|
| |
Notes:
svn path=/head/; revision=73270
|
|
|
|
|
|
|
|
| |
This includes appropriate MLINKS for the other functions contained
within them.
Notes:
svn path=/head/; revision=73269
|
|
|
|
| |
Notes:
svn path=/head/; revision=73268
|
|
|
|
| |
Notes:
svn path=/head/; revision=73267
|
|
|
|
| |
Notes:
svn path=/head/; revision=73266
|