git: libc: Sync open_memstream(3) with FreeBSD. Also add open_wmemstream(3).

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Sep 5 11:53:46 PDT 2015


commit 2c8c2922834904924d7b42db7bd943aaa20f3452
Author: Sascha Wildner <saw at online.de>
Date:   Sat Sep 5 20:48:49 2015 +0200

    libc: Sync open_memstream(3) with FreeBSD. Also add open_wmemstream(3).
    
    Their open_memstream(3) implementation is more compliant than ours was.
    
    Taken-from: FreeBSD

Summary of changes:
 include/wchar.h                  |   2 -
 lib/libc/stdio/Makefile.inc      |   6 +-
 lib/libc/stdio/Symbol.map        |   1 +
 lib/libc/stdio/open_memstream.3  | 142 +++++++++++++++-----
 lib/libc/stdio/open_memstream.c  | 240 ++++++++++++++++++++--------------
 lib/libc/stdio/open_wmemstream.c | 270 +++++++++++++++++++++++++++++++++++++++
 6 files changed, 528 insertions(+), 133 deletions(-)
 create mode 100644 lib/libc/stdio/open_wmemstream.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c8c2922834904924d7b42db7bd943aaa20f3452


-- 
DragonFly BSD source repository



More information about the Commits mailing list