diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-04 00:14:50 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-04 00:14:50 +0000 |
commit | 26e1356c454fe50e6d61b6c919afb942ce8182c3 (patch) | |
tree | 28dcac46a1ff8dcec3ccc3b4f81a50a2956889d0 /lib/libc/tests/stdio/freopen_test.c | |
parent | 78b62c1962daa19690db2303cc8c8529b23bc773 (diff) | |
download | FreeBSD-src-26e1356c454fe50e6d61b6c919afb942ce8182c3.zip FreeBSD-src-26e1356c454fe50e6d61b6c919afb942ce8182c3.tar.gz |
MFC r298451,r298452,r298507,r298750:
r298451:
Don't use `entry` after free in the "already in lists" case
Return with 0 as it isn't an error.
CID: 1006085
Obtained from: Isilon OneFS (part of r493633)
r298452:
Don't try to free `string` (stack allocated char[])
Fix minor style with warnx call while in the neighborhood
CID: 1009683
r298507:
Fix looking for "UTC" at start of ptr by using strnmp instead of improperly
unrolled equivalent
CID: 1347118
r298750:
Use a better idiom for finding UTC prefixed timezones
Instead of copy-pasting the string literal for "UTC" 3 times and using
strlen, use a static char[3] buffer and sizeof(..).
Diffstat (limited to 'lib/libc/tests/stdio/freopen_test.c')
0 files changed, 0 insertions, 0 deletions