Re: git: libc: Replace vis(3) and unvis(3) files with NetBSD versions
nice updates 2018-04-10 5:24 GMT+09:00 Francois Tigeot: > > commit 4be4de019fe4a28d5378192245290895096def17 > Author: François Tigeot > Date: Mon Apr 9 21:54:26 2018 +0200 > > libc: Replace vis(3) and unvis(3) files with NetBSD versions > > * Rendering the corresponding APIs compatible with NetBSD and FreeBSD. > > * Keep strnvis() as-is, keeping it compatible with previous DragonFly > versions, OpenBSD and libbsd > > * We already had the original OpenBSD version of strnvis(), which > predates the NetBSD one by more than 10 years > > * New userland utilities code partially obtained from FreeBSD. > > Reviewed-by: swildner > > Summary of changes: > include/vis.h | 64 +++- > lib/libc/gen/Makefile.inc | 6 +- > lib/libc/gen/Symbol.map | 13 + > lib/libc/gen/unvis.3 | 178 ++--- > lib/libc/gen/unvis.c | 517 -- > lib/libc/gen/vis.3| 426 - > lib/libc/gen/vis.c| 841 > ++ > usr.bin/showmount/showmount.c | 4 +- > usr.sbin/fstyp/fstyp.c| 5 +- > 9 files changed, 1606 insertions(+), 448 deletions(-) > > http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4be4de019fe4a28d5378192245290895096def17 > > > -- > DragonFly BSD source repository
git: libc: Replace vis(3) and unvis(3) files with NetBSD versions
commit 4be4de019fe4a28d5378192245290895096def17 Author: François TigeotDate: Mon Apr 9 21:54:26 2018 +0200 libc: Replace vis(3) and unvis(3) files with NetBSD versions * Rendering the corresponding APIs compatible with NetBSD and FreeBSD. * Keep strnvis() as-is, keeping it compatible with previous DragonFly versions, OpenBSD and libbsd * We already had the original OpenBSD version of strnvis(), which predates the NetBSD one by more than 10 years * New userland utilities code partially obtained from FreeBSD. Reviewed-by: swildner Summary of changes: include/vis.h | 64 +++- lib/libc/gen/Makefile.inc | 6 +- lib/libc/gen/Symbol.map | 13 + lib/libc/gen/unvis.3 | 178 ++--- lib/libc/gen/unvis.c | 517 -- lib/libc/gen/vis.3| 426 - lib/libc/gen/vis.c| 841 ++ usr.bin/showmount/showmount.c | 4 +- usr.sbin/fstyp/fstyp.c| 5 +- 9 files changed, 1606 insertions(+), 448 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4be4de019fe4a28d5378192245290895096def17 -- DragonFly BSD source repository