git: libc/stdio: Add _unlocked() flavors of fflush, fputc, fputs, fread, fwrite.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Nov 22 00:28:10 PST 2020


commit 794d56434eb286a928220fda3d0eec22f5c8b9a2
Author: Sascha Wildner <saw at online.de>
Date:   Sun Nov 22 09:27:36 2020 +0100

    libc/stdio: Add _unlocked() flavors of fflush, fputc, fputs, fread, fwrite.
    
    These are needed by some dports and can also be used in various things
    in base. Bump __DragonFly_version, too.
    
    Reported-by: zrj
    Taken-from:  FreeBSD

Summary of changes:
 gnu/usr.bin/cc47/cc_prep/auto-host.h          | 10 +++++-----
 gnu/usr.bin/cc47/libcpp/config.h              | 10 +++++-----
 gnu/usr.bin/cc80/cc_prep/auto-host.h          | 10 +++++-----
 gnu/usr.bin/cc80/support-libs/libcpp/config.h | 10 +++++-----
 gnu/usr.bin/cvs/lib/config.h.proto            | 10 +++++-----
 gnu/usr.bin/diff/libdiffutils/config.h        | 10 +++++-----
 gnu/usr.bin/grep/libgreputils/config.h        | 10 +++++-----
 include/stdio.h                               |  9 ++++++++-
 lib/libc/stdio/Makefile.inc                   | 10 +++++++---
 lib/libc/stdio/Symbol.map                     |  5 +++++
 lib/libc/stdio/fflush.3                       | 15 ++++++++++++++-
 lib/libc/stdio/fflush.c                       |  2 ++
 lib/libc/stdio/fputc.c                        | 11 +++++++++--
 lib/libc/stdio/fputs.3                        | 15 ++++++++++++++-
 lib/libc/stdio/fputs.c                        | 13 +++++++++++--
 lib/libc/stdio/fread.3                        | 26 +++++++++++++++++++++++---
 lib/libc/stdio/fread.c                        |  2 ++
 lib/libc/stdio/fwrite.c                       | 18 ++++++++++++++----
 lib/libc/stdio/putc.3                         | 12 ++++++++----
 lib/libc/stdio/putc.c                         |  1 -
 sys/sys/param.h                               |  3 ++-
 21 files changed, 154 insertions(+), 58 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/794d56434eb286a928220fda3d0eec22f5c8b9a2


-- 
DragonFly BSD source repository



More information about the Commits mailing list