| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
IWBNI gcc could warn about this the way it warns about printf() abuse.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
calculating run sizes. Use of the floating point unit was a potential
pessimization to context switching for applications that do not otherwise
use floating point math. [1]
Reformat cpp macro-related comments to improve consistency.
Submitted by: das
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
returned on a perfectly valid bzip2 stream whose decompressed size
is multiple of read-ahead buffer size. Reproduce the problem is easy:
create some power-of-two sized file (truncate -s 1m file will do),
bzip2 it and try to load it as md_image from loader. See how it fails.
The bug doesn't affect gzip code (which most of bzip2-reading code was
copied from) probably due to the fact that libgzip doesn't report
Z_STREAM_END with the last block, but requires extra call to inflate()
to retrieve it and has some extra data in the input stream at that time.
However, apply similar fix to gzipfs.c just in the case the API will
change in the future to do what bzip2 code does.
Add some ifdef'ed code to enable testing bzipfs.c from witin normal
FreeBSD environment as opposed to the restricted loader one, so that
one can use gdb and whatnot.
Sponsored by: Sippy Software, Inc., http://www.sippysoft.com/
MFC in: 7 days
|
| |
|
|
|
|
|
|
|
|
| |
someone thought it would be a good idea to copy z_abs() to libm in 1994.
However, it's never been declared or documented anywhere, and I'm
reasonably confident that nobody uses it.
Discussed with: bde, deischen, kan
|
|
|
|
| |
not checked out due to my checkout error.
|
|
|
|
|
|
|
| |
I hope that this and the i386 version of it will not be needed, but
this is currently about 16 cycles or 36% faster than the C version,
and the i386 version is about 8 cycles or 19% faster than the C
version, due to poor optimization of the C version.
|
|
|
|
| |
flood logs with failed fallback method lookup attempts.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
deallocation and dynamic load balancing via the MALLOC_LAZY_FREE and
MALLOC_BALANCE knobs. This is a non-functional change, since these
features are still enabled when possible.
Clean up a few things that more pedantic compiler settings would cause
complaints over.
|
|
|
|
| |
in other places.
|
|
|
|
|
| |
version namespace which was needed before the library version was
bumped.
|
|
|
|
|
|
|
| |
adds two new directories in msun: ld80 and ld128. These are for
long double functions specific to the 80-bit long double format
used on x86-derived architectures, and the 128-bit format used on
sparc64, respectively.
|
|
|
|
| |
libm can use it.
|
|
|
|
| |
the NaN returned by strtod("nan()", NULL).
|
|
|
|
| |
of the disk.
|
|
|
|
|
| |
2. Put carg{,f}(3) under the FBSD_1.1 namespace where it belongs
(requested by kan@)
|
| |
|
|
|
|
| |
symbols whose ABI has changed should be added to FBSD_1.1.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
return value of sqrt.
|
|
|
|
|
|
|
|
| |
loop count.
2. Add function pthread_mutex_setyieldloops_np to turn a mutex's yield
loop count.
3. Make environment variables PTHREAD_SPINLOOPS and PTHREAD_YIELDLOOPS
to be only used for turnning PTHREAD_MUTEX_ADAPTIVE_NP mutex.
|
| |
|
|
|
|
| |
add a new version for them.)
|
|
|
|
|
|
| |
pty(4) changes.
MFC after: 3 days
|
| |
|
| |
|
|
|
|
| |
Rotting in an old src tree since: March 2005
|
|
|
|
| |
Prompted by: Glenn Halperin, Symbian Software
|
|
|
|
|
|
|
|
|
|
|
| |
default to the value of MK_KERBEROS unless set explicitly by
WITH_GSSAPI/WITHOUT_GSSAPI. (This introduces another type of
MK_* variables which itself is questionable.)
- Teach tools/build/options/makeman script that generates the
src.conf(5) manpage about the new type of MK_* variables.
- Fix broken logic in lib/Makefile.
|
|
|
|
|
|
|
|
|
|
|
|
| |
when particular function can't be found in nsswitch-module. For
example, getgrouplist(3) will use module-supplied 'getgroupmembership'
function (which can work in an optimal way for such source as LDAP) and
will fall back to the stanard iterate-through-all-groups implementation
otherwise.
PR: ports/114655
Submitted by: Michael Hanselmann <freebsd AT hansmi DOT ch>
Reviewed by: brooks (mentor)
|
|
|
|
| |
Per request of: glenn halperin at symbian.com
|
| |
|
|
|
|
|
|
| |
add missing brackets.
MFC: after 1 day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WITHOUT_KERBEROS knob. While GSS can be used for other things
some third party software (most notably ports/x11/kdelibs3)
takes the presence of libgssapi as an indication that kerberos
is available, and attempts to link with the kerberos libs. If
they are not available, the build will fail.
Because you might want to use GSS but not kerberos, add a knob
to re-enable it if WITHOUT_KERBEROS is present.
Document the new knob, and the new behavior of WITHOUT_KERBEROS.
Not objected and/or generally agreed to by: freebsd-arch
Problem discussed/analyzed in:
PR: ports/116484
|
| |
|
|
|
|
| |
PR: 85080
|
|
|
|
|
|
|
|
|
| |
is seems to be a problem for SUID applications, which we like to
prevent as much as possible.
PR: docs/39530
Submitted by: Soren Spies <sspies at apple dot com>
MFC After: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This protects against a race with an upcall in the parent during the
fork which can clobber the parent's tcb before the vm space is copied
in the child. The child then gets a corrupted tcb that is either null
or that points to another thread that doesn't exist in the child (after
a fork, only the fork()ing thread exists in the child).
Reported by: Arno J. Klaassen (arno at heho / snv / jussieu / fr)
|
|
|
|
|
|
| |
by unreferenced symbol. Apply __used instead of rev. 1.5.
Requested by: kan
|
|
|
|
|
|
|
| |
a length field of zero; it does not mean the body is empty.
Thanks to: Lapo Luchini for sending me a JAR archive that demonstrated this bug
MFC after: 3 days
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| |
| |
| |
| | |
longer required.
|
| |
| |
| |
| | |
MFC after: 3 days
|