git: DragonFly_RELEASE_5_8 libc: Sync wordexp(3) with FreeBSD.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Feb 15 01:32:09 PST 2021


commit d5cbcc11fa15cfd6c2aea9c87d47664c75df3fc4
Author: Sascha Wildner <saw at online.de>
Date:   Fri Oct 9 21:41:48 2020 +0200

    libc: Sync wordexp(3) with FreeBSD.
    
    I went and changed freebsd_wordexp() to wordexp2(), though.
    
    Taken-from: FreeBSD

Summary of changes:
 bin/sh/builtins.def                          |   2 +-
 bin/sh/expand.c                              |   4 +-
 bin/sh/parser.c                              |   2 -
 bin/sh/parser.h                              |   2 -
 bin/sh/pregenerated/builtins.c               |   2 +
 bin/sh/pregenerated/builtins.h               |   2 +
 lib/libc/gen/wordexp.3                       |  45 ++--
 lib/libc/gen/wordexp.c                       | 320 +++++++++++++++++----------
 share/man/man1/Makefile                      |   3 +-
 share/man/man1/builtin.1                     |  17 +-
 tools/regression/lib/libc/gen/Makefile       |  11 +
 tools/regression/lib/libc/gen/test-wordexp.c | 270 ++++++++++++++++++++++
 12 files changed, 533 insertions(+), 147 deletions(-)
 create mode 100644 tools/regression/lib/libc/gen/Makefile
 create mode 100644 tools/regression/lib/libc/gen/test-wordexp.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d5cbcc11fa15cfd6c2aea9c87d47664c75df3fc4


-- 
DragonFly BSD source repository



More information about the Commits mailing list