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

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Oct 9 12:42:29 PDT 2020


commit a31d362788e8f158ecc861d1247b0648ccd22f9a
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/a31d362788e8f158ecc861d1247b0648ccd22f9a


-- 
DragonFly BSD source repository


More information about the Commits mailing list