<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include/stdio.h, branch release/11.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-04-18T19:18:14Z</updated>
<entry>
<title>MFC r331936, r331942, r331943, r331945, r331947, r331948</title>
<updated>2018-04-18T19:18:14Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2018-04-18T19:18:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=041ca5003745c04f57b13bf4a41cac8c72589515'/>
<id>urn:sha1:041ca5003745c04f57b13bf4a41cac8c72589515</id>
<content type='text'>
Add new gets_s(3) stdio function.

This implements the gets_s(3) function as documented at
http://en.cppreference.com/w/c/io/gets. It facilitates the
optional removal of gets(3).

Reviewed by:	ed
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D12785
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFC r318539 r318580 r318581 r318584 r318749 r318952 r318953 r318955</title>
<updated>2017-06-01T14:49:53Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2017-06-01T14:49:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bfccc82170863098c1277c536e8e3d42a9a229d8'/>
<id>urn:sha1:bfccc82170863098c1277c536e8e3d42a9a229d8</id>
<content type='text'>
libthr: fix warnings at WARNS=6

Fix warnings about the following when WARNS=6 (which I will commit soon):

- casting away const
- no previous 'extern' declaration for non-static variable
- others as explained by #pragmas and comments
- unused parameters

libthr: disable thread-safety warnings

These warnings don't make sense for code that implements
the locking primitives.

libthr: change CHECK_AND_INIT_RWLOCK to an inline function

This was prompted by a compiler warning about 'ret' shadowing
a local variable in the callers of the macro.

libthr: Use CLI flags instead of pragmas to disable warnings

People tweaking the build system or compilers tend to look into
the Makefile and not into the source.  Having some warning controls
in the Makefile and some in the source code is surprising.

Pragmas have the advantage that they leave the warnings enabled
for more code, but that advantage isn't very relevant in these cases.

libthr: fix warnings from GCC when WARNS=6

Fix warnings about:
- redundant declarations
- a local variable shadowing a global function (dlinfo)
- an old-style function definition (with an empty parameter list)
- a variable that is possibly used uninitialized

libthr: prevent setcontext() from masking SIGTHR

__thr_setcontext() mistakenly tested for the presence of SIGCANCEL
in its local ucontext_t instead of the parameter. Therefore,
if a thread calls setcontext() with a context whose signal mask
contains SIGTHR (a.k.a. SIGCANCEL), that signal will be blocked,
preventing the thread from being cancelled or suspended.

Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>MFC r312934:</title>
<updated>2017-03-14T20:14:57Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-03-14T20:14:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0685b1047a24502ae7061889c18f282bce657dca'/>
<id>urn:sha1:0685b1047a24502ae7061889c18f282bce657dca</id>
<content type='text'>
Make use of clang nullability attributes in C headers.

Replace uses of the GCC __nonnull__ attribute with the clang nullability
qualifiers. These are starting to get use in clang's static analyzer.

Replacement should be transparent for developers using clang. GCC ports
from older FreeBSD versions may need updating if the compiler was built
before r312860 (Jan-27-2017).

Hinted by:	Apple's Libc-1158.20.4, Bionic libc

Relnotes:	yes
</content>
</entry>
<entry>
<title>MFC r306568, r306569</title>
<updated>2016-10-08T14:07:34Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2016-10-08T14:07:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3610dd844894137b7232138a137e0fe43af91e65'/>
<id>urn:sha1:3610dd844894137b7232138a137e0fe43af91e65</id>
<content type='text'>
Add the __printflike attribute to the declarations of
dprintf(3) and vdprintf(3).

Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>stdio.h: Fix function-type typedef style and use _types.h __ssize_t</title>
<updated>2016-05-12T22:13:12Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2016-05-12T22:13:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9183be81a7999622ed298f0fbc19bdf3de7d091b'/>
<id>urn:sha1:9183be81a7999622ed298f0fbc19bdf3de7d091b</id>
<content type='text'>
I'm still not sure why only Pypy runs into the error with the function
typedefs.  Fix it anyway.

Use __ssize_t instead of ssize_t for the types; it's possible for the size_t
type to not be visible if at the wrong POSIX_VISIBLE level.

A final (crossing my fingers) follow-up to r299456.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Pollute more places with off64_t and add __off64_t</title>
<updated>2016-05-12T21:18:17Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2016-05-12T21:18:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6710d21d9f7fce14cb77dc30c16f32e8705bf201'/>
<id>urn:sha1:6710d21d9f7fce14cb77dc30c16f32e8705bf201</id>
<content type='text'>
Despite the private namespace, several broken ports depend on the __off64_t
name for the type.  Export it exactly the same way off_t and __off_t are
exported.

A follow-up to r299456.

Suggested by:	php56
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>libc: Add fopencookie(3) wrapper around funopen(3)</title>
<updated>2016-05-11T14:38:27Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2016-05-11T14:38:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=877a840c080f5064aa0c9b1d326f306059f0a186'/>
<id>urn:sha1:877a840c080f5064aa0c9b1d326f306059f0a186</id>
<content type='text'>
Reviewed by:	jhb, oshogbo
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D6282
</content>
</entry>
<entry>
<title>Add _flags2 per jhb@ suggestion since no room left in _flags.</title>
<updated>2015-10-28T14:40:02Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2015-10-28T14:40:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b63538d89ef0b1b1d38532c6ff15b4f0676d7d5'/>
<id>urn:sha1:8b63538d89ef0b1b1d38532c6ff15b4f0676d7d5</id>
<content type='text'>
Rewrite O_APPEND flag checking using new __S2OAP flag.

MFC after:      3 weeks
</content>
</entry>
</feed>
