musl/include/sys/sendfile.h, branch master musl - an implementation of the standard library for Linux-based systems remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022年10月19日T18:01:31+00:00 Rich Felker dalias@aerifal.cx 2022年09月27日T19:04:05+00:00 25e6fee27f4a293728dd15b659170e7b9c7db9bc these badly pollute the namespace with macros whenever _GNU_SOURCE is defined, which is always the case with g++, and especially tends to interfere with C++ constructs. as our implementation of these was macro-only, their removal cannot affect any existing binaries. at the source level, portable software should be prepared for them not to exist. for now, they are left in place with explicit _LARGEFILE64_SOURCE. this provides an easy temporary path for integrators/distributions to get packages building again right away if they break while working on a proper, upstreamable fix. the intent is that this be a very short-term measure and that the macros be removed entirely in the next release cycle.
these badly pollute the namespace with macros whenever _GNU_SOURCE is
defined, which is always the case with g++, and especially tends to
interfere with C++ constructs.
as our implementation of these was macro-only, their removal cannot
affect any existing binaries. at the source level, portable software
should be prepared for them not to exist.
for now, they are left in place with explicit _LARGEFILE64_SOURCE.
this provides an easy temporary path for integrators/distributions to
get packages building again right away if they break while working on
a proper, upstreamable fix. the intent is that this be a very
short-term measure and that the macros be removed entirely in the next
release cycle.
default features: make musl usable without feature test macros 2012年09月08日T03:13:55+00:00 Rich Felker dalias@aerifal.cx 2012年09月08日T03:13:55+00:00 c1a9658bd19245ff0fb52d3da567815d822fb622 the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change.
the old behavior of exposing nothing except plain ISO C can be
obtained by defining __STRICT_ANSI__ or using a compiler option (such
as -std=c99) that predefines it. the new default featureset is POSIX
with XSI plus _BSD_SOURCE. any explicit feature test macros will
inhibit the default.
installation docs have also been updated to reflect this change.
header file fixes: multiple include guard consistency and correctness 2012年06月16日T01:52:53+00:00 Rich Felker dalias@aerifal.cx 2012年06月16日T01:52:53+00:00 57d5fff5f7dd9af27152c84ce041c18597a22766 one file was reusing another file's macro name, and many had inconsistent underscores and application of SYS prefix, etc. patch by Szabolcs Nagy (nsz)
one file was reusing another file's macro name, and many had
inconsistent underscores and application of SYS prefix, etc.
patch by Szabolcs Nagy (nsz)
_GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012年06月04日T12:03:56+00:00 Rich Felker dalias@aerifal.cx 2012年06月04日T12:03:56+00:00 3b94daba711090f1936f59fae6f7cbcba963b29e this is ugly and stupid, but now that the *64 symbol names exist, a lot of broken GNU software detects them in configure, then either breaks during build due to missing off64_t definition, or attempts to compile without function declarations/prototypes. "fixing" it here is easier than telling everyone to add yet another feature test macro to their builds.
this is ugly and stupid, but now that the *64 symbol names exist, a
lot of broken GNU software detects them in configure, then either
breaks during build due to missing off64_t definition, or attempts to
compile without function declarations/prototypes. "fixing" it here is
easier than telling everyone to add yet another feature test macro to
their builds.
add *64 junk for sys/*.h headers 2012年05月04日T04:31:25+00:00 Rich Felker dalias@aerifal.cx 2012年05月04日T04:31:25+00:00 f0b85fd926c5a381416c94be62e7bc20d9fdbdb1
various legacy and linux-specific stuff 2011年03月19日T01:52:26+00:00 Rich Felker dalias@aerifal.cx 2011年03月19日T01:52:26+00:00 f5ba2bc9ca84d67f03f2542bfff0525f2f478e4c this commit is part of an effort to make more of busybox work out-of-the-box.
this commit is part of an effort to make more of busybox work
out-of-the-box.

AltStyle によって変換されたページ (->オリジナル) /