| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=236626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://austingroupbugs.net/view.php?id=385#c713
(Resolved state) recommend this way for the current standard (called
"earlier" in the text)
"However, earlier versions of this standard did not require this, and the
same example had to be written as:
// buf was obtained by malloc(buflen)
ret = write(fd, buf, buflen);
if (ret < 0) {
int save = errno;
free(buf);
errno = save;
return ret;
}
"
from feedback I have for previous commit it seems that many people prefer
to avoid mass code change needed for current standard compliance
and prefer to track unpublished standard instead, which requires now
that free() itself must save errno, not its usage code.
So, I back out "save errno across free()" part of previous commit,
and will fill PR for changing free() isntead.
2) Remove now unused serrno.
MFC after: 1 week
Notes:
svn path=/head/; revision=236618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"The setting of errno after a successful call to a function is
unspecified unless the description of that function specifies that
errno shall not be modified."
However, free() in IEEE Std 1003.1-2008 does not mention its interaction
with errno, so MAY modify it after successful call
(it depends on particular free() implementation, OS-specific, etc.).
So, save errno across free() calls to make code portable and
POSIX-conformant.
2) Remove unused serrno assignment.
MFC after: 1 week
Notes:
svn path=/head/; revision=236582
|
|
|
|
|
|
|
|
|
|
| |
Makefile, so these headers go into the same destination directory as
libc++'s own headers, currently /usr/include/c++/v1.
MFC after: 3 days
Notes:
svn path=/head/; revision=236444
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=236442
|
|
|
|
|
|
|
|
|
|
|
|
| |
The stat structures returned on pipes seems to contain all the
information required by POSIX. Especially the wording "and thus to a
pipe" makes little sense, because it seems to imply a certain
relationship between sockets and pipes that simply isn't there.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=236441
|
|
|
|
| |
Notes:
svn path=/head/; revision=236438
|
|
|
|
|
|
|
|
|
|
| |
of local variable declarations, remove bogus casts, and resolve long
lines.
Reviewed by: bde
Notes:
svn path=/head/; revision=236402
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(not verified by me to be accurate)
PR: bin/163847
Submitted by: Gabor Fischer <Gabor.Fischer@gmx.net>
Reviewed by: bp
Approved by: cperciva
MFC after: 3 weeks
Notes:
svn path=/head/; revision=236376
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this fflush may fail to write data in the buffer.
PR: kern/137819
Submitted by: Eric Blake <ebb9@byu.net>
Reviewed by: theraven
Approved by: cperciva
MFC after: 2 weeks
Notes:
svn path=/head/; revision=236288
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Feature Change
* BIND now recognizes the TLSA resource record type, created to
support IETF DANE (DNS-based Authentication of Named Entities)
Bug Fix
* The locking strategy around the handling of iterative queries
has been tuned to reduce unnecessary contention in a multi-
threaded environment.
Other critical bug fixes are included.
All BIND users are encouraged to upgrade.
Notes:
svn path=/head/; revision=236196
|
| |
| |
| |
| |
| | |
Notes:
svn path=/vendor/bind9/dist/; revision=236171
svn path=/vendor/bind9/9.8.3/; revision=236172; tag=vendor/bind9/9.8.3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To avoid unexpected process termination from SIGPIPE when writing to a
closed network connection, enable SO_NOSIGPIPE on all network connections.
The POSIX standard MSG_NOSIGNAL is not used since it requires modifying all
send calls to add this flag. This is particularly nasty for SSL connections.
Reviewed by: des
Tested by: bapt
MFC after: 5 days
Notes:
svn path=/head/; revision=236193
|
| |
| |
| |
| |
| |
| |
| | |
Reported by: Jan Beich <jbeich@tormail.org>
Notes:
svn path=/head/; revision=236185
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: Yamaya Takashi
Reviewed by: das
MFC after: 1 week
Notes:
svn path=/head/; revision=236148
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
be acquired.
PR: 168317
MFC after: 3 days
Notes:
svn path=/head/; revision=236135
|
|\ \
| | |
| | |
| | | |
Notes:
svn path=/head/; revision=236109
|
| | |
| | |
| | |
| | | |
Notes:
svn path=/vendor/openpam/dist/; revision=236099
|
| | |
| | |
| | |
| | | |
Notes:
svn path=/vendor/openpam/dist/; revision=228809
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
an empty string instead.
Notes:
svn path=/head/; revision=236106
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
MFC after: 3 days
Notes:
svn path=/head/; revision=236042
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR: bin/162670
Submitted by: Jan Beich <jbeich@tormail.net>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=236028
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
current one (= FBSD_1.3).
Pointed out by: kib
Notes:
svn path=/head/; revision=236006
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/),
and 11 _LP64's]
Notes:
svn path=/head/; revision=235939
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
function. The purpose of the __eabi() function is to set up the
runtime and is called first thing by main(). The runtime is already
set up for us prior to caling main, so there's nothing to do for
us in the EABI case.
Notes:
svn path=/head/; revision=235929
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR: 168016
Submitted by: Nobuyuki Koganemaru
Approved by: gjb
MFC after: 3 days
Notes:
svn path=/head/; revision=235873
|
| | | | |
| \ \ | |
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
found at: http://llvm.org/releases/3.1/docs/ReleaseNotes.html
MFC after: 3 days
Notes:
svn path=/head/; revision=235864
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
http://llvm.org/svn/llvm-project/llvm/branches/release_31@156863
Notes:
svn path=/vendor/llvm/dist/; revision=235860
svn path=/vendor/llvm/llvm-release_31-r156863/; revision=235861; tag=vendor/llvm/llvm-release_31-r156863
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_31/final@156748
Notes:
svn path=/vendor/llvm/dist/; revision=235807
svn path=/vendor/llvm/llvm-release_31-r156748/; revision=235808; tag=vendor/llvm/llvm-release_31-r156748
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
http://llvm.org/svn/llvm-project/cfe/branches/release_31@156863
Notes:
svn path=/vendor/clang/dist/; revision=235862
svn path=/vendor/clang/clang-release_31-r156863/; revision=235863; tag=vendor/clang/clang-release_31-r156863
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final@156748
Notes:
svn path=/vendor/clang/dist/; revision=235809
svn path=/vendor/clang/clang-release_31-r156748/; revision=235810; tag=vendor/clang/clang-release_31-r156748
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- libc/stdio/scanf_l.3
- libc/stdio/printf_l.3
Reviewed by: theraven
Approved by: gabor (mentor)
MFC after: 5 days
Notes:
svn path=/head/; revision=235848
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
MFC after: 3 days
Notes:
svn path=/head/; revision=235827
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
by testing for the right parameter name.
Notes:
svn path=/head/; revision=235799
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reported by: tinderbox
Notes:
svn path=/head/; revision=235767
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
avoid creating bad entries in the grp list as a result of memory allocation
failures while building new entries.
PR: bin/83340
Reviewed by: delphij (prior version of patch)
Notes:
svn path=/head/; revision=235740
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed by: delphij (prior version of the patch)
Notes:
svn path=/head/; revision=235739
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Functions affected: strerror, strsignal, gai_strerror.
Notes:
svn path=/head/; revision=235720
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note that this still misses a proper dependency at this time.
Notes:
svn path=/head/; revision=235653
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Requested by: kib@
Notes:
svn path=/head/; revision=235649
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Introduce dirfd() libc exported symbol replacing macro with same name,
preserve _dirfd() macro for internal use.
Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable
name to prevent shadowing global symbol.
Sponsored by: Google Summer Of Code 2011
Notes:
svn path=/head/; revision=235647
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
it possible to work with a different type for the sdl_index field --
it only requires a recompile.
Obtained from: Juniper Networks, Inc.
Notes:
svn path=/head/; revision=235640
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
not the case for FreeBSD 7.x machines.
Notes:
svn path=/head/; revision=235638
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since ino_t size is about to change to 64-bits, casts to long would
truncate 64-bit numbers on 32-bit archs.
Sponsored by: Google Summer of Code 2011
Notes:
svn path=/head/; revision=235602
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The NAND Flash environment consists of several distinct components:
- NAND framework (drivers harness for NAND controllers and NAND chips)
- NAND simulator (NANDsim)
- NAND file system (NAND FS)
- Companion tools and utilities
- Documentation (manual pages)
This work is still experimental. Please use with caution.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks
Notes:
svn path=/head/; revision=235537
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
sign expansion.
Notes:
svn path=/head/; revision=235510
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
in place allowing it to be used there and since r235388 (see also r235486)
we also have usable div/mod optimizations like libgcc has.
Notes:
svn path=/head/; revision=235487
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=235426
|
| | | | |
| | | | |
| | | | |
| | | | | |
Notes:
svn path=/head/; revision=235401
|
| | | | |
| | | | |
| | | | |
| | | | | |
Notes:
svn path=/head/; revision=235400
|