History log of /openbsd-current/lib/libc/stdio/fmemopen.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.5 17-Aug-2020 millert

Fix append mode so it always writes to the end and expand regress.
OK deraadt@ martijn@


# 1.4 14-Aug-2020 millert

Fix handling of "w+" mode, we were only truncating for "w".
OK martijn@ mpi@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.3 31-Aug-2015 guenther

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 27-Mar-2013 mpi

Add an open_wmemstream(3) implementation and fix various issues for
fmemopen(3) and open_memstream(3).

With inputs from millert@, stsp@, guenther@, tedu@ and matthew@


Revision tags: OPENBSD_5_3_BASE
# 1.1 01-Jan-2013 mpi

Add an implementation based on tedu@'s design of fmemopen(3) and
open_memstream(3) so they can be polished in-tree.

One of the manpages comes from NetBSD with some tweaks.

Prodded by espie@, krw@, guenther@


# 1.4 14-Aug-2020 millert

Fix handling of "w+" mode, we were only truncating for "w".
OK martijn@ mpi@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.3 31-Aug-2015 guenther

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 27-Mar-2013 mpi

Add an open_wmemstream(3) implementation and fix various issues for
fmemopen(3) and open_memstream(3).

With inputs from millert@, stsp@, guenther@, tedu@ and matthew@


Revision tags: OPENBSD_5_3_BASE
# 1.1 01-Jan-2013 mpi

Add an implementation based on tedu@'s design of fmemopen(3) and
open_memstream(3) so they can be polished in-tree.

One of the manpages comes from NetBSD with some tweaks.

Prodded by espie@, krw@, guenther@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.3 31-Aug-2015 guenther

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.2 27-Mar-2013 mpi

Add an open_wmemstream(3) implementation and fix various issues for
fmemopen(3) and open_memstream(3).

With inputs from millert@, stsp@, guenther@, tedu@ and matthew@


Revision tags: OPENBSD_5_3_BASE
# 1.1 01-Jan-2013 mpi

Add an implementation based on tedu@'s design of fmemopen(3) and
open_memstream(3) so they can be polished in-tree.

One of the manpages comes from NetBSD with some tweaks.

Prodded by espie@, krw@, guenther@