| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
|
|
|
|
| |
char *
FooFileChunk(const char *filename, char *buf, off_t offset, off_t length)
Which only hashes part of a file.
Implement FooFile() in terms of this function.
Submitted by: roam
|
|
|
|
| |
Submitted by: okazaki
|
|
|
|
|
|
| |
some comments explaining that this is an arbitrary limit.
Requested by: jkh
|
|
|
|
|
|
|
| |
(In -mdocNG, this only causes warning. In current implementation,
it is fatal.)
Pointy hat to: markm (for not checking stderr)
|
|
|
|
|
|
| |
PR: 25797
Submitted by: Yuko Sasaki <yuko@veltec.co.jp>
Approved by: nik
|
|
|
|
|
| |
PR: 25835
Submitted by: Tony Finch <dot@dotat.at>
|
|
|
|
|
|
|
| |
is currently set to 10000. This is intended to prevent glob from running
amok when a highly recursive path is provided (such as "../*/../*/../*/...")
Reviewed by: Diane Bruce <db@db.net>, jhb
|
| |
|
|
|
|
| |
Thanks for covering my blunder to: peter
|
|
|
|
|
|
|
|
|
|
|
| |
utility functions which convert between string namespace names and
numeric constants used by the interface. Right now, two namespaces
are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and
EXTATTR_NAMESPACE_USER ("user"). These functions are used by
various userland EA utilities, rather than hard coding the routines
all over the place.
Obtained from: TrustedBSD Project
|
|
|
|
| |
Approved by: nik
|
|
|
|
|
|
| |
world-unbreaker until Brian Somers commits the one he intended to.
Pointy Hat to: brian
|
|
|
|
|
|
| |
Fix disorder in the Makefile.
Reviewed (mostly) by: bde
|
|
|
|
|
|
|
| |
Don't read past the end of the host passed to realhostname()
Not objected to by: freebsd-audit
Interface disliked by: imp
|
|
|
|
|
|
|
|
| |
o Rename internal library functions so that they are prefixed with
_posix1e or _POSIX1E, removing them from the application namespace (and
potential conflict with other ACL functions elsewhere in the system).
Obtained from: TrustedBSD Project
|
|
|
|
|
| |
PR: 25188
Approved by: nik
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
gratuitous difference between us and our sister project.
This was given to me _ages_ ago. May apologies to Paul for the length
of time its taken me to commit.
Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD
Submitted by: Paul Herman <pherman@frenchfries.net>
|
|
|
|
|
|
|
|
| |
# cd /dev && ./MAKEDEV pty0 pty3
and/or
# rm -rf /dev/ptyp0
and expect all programs that use openpty() to still try to find available ptys.
|
|
|
|
|
|
|
|
| |
thread to become stranded and not placed in the run queue.
MFC Candidate
Reported by: tegge
|
|
|
|
|
| |
PR: docs/25626
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: David Cross <dec@freebsd.org>, jkh <jkh@freebsd.org>
Approved by: jkh <jkh@freebsd.org>
Obtained from: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org>
We have been running this patch on a production NIS server for 2.5 weeks now.
Normally we would have ypserv die at least once a week, and often many times
a day.
This patch treats and error from select as zeroing out the FD_SET to indicate
that no fds are ready for reading. This is safe because the rpc code
always re-inits the FDSET before calling select.
|
| |
|
|
|
|
| |
PR: bin/25494
|
| |
|
|
|
|
| |
from libstand.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We *cannot* remove clause #4 from the Univ of California's license.
|
| |
|
| |
|
| |
|
|
|
|
| |
POSIX locale.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
lock definitions to it. flockfile state is now allocated
along with the rest of FILE. This eliminates the need for a
separate allocation of flockfile state as well as eliminating
the mutex/lock used to serialize its allocation.
|
|
|
|
| |
Approved by: phantom
|
|
|
|
|
| |
.Nd line broken in rev 1.10
use .Bx for ``BSD''
|