git: dd(1): Use a local swapbytes() function.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Wed Jan 24 09:36:59 PST 2018
commit eb9625b533c994f3f2e0fe5aca2bf38be4757b40
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Wed Jan 24 15:47:40 2018 +0200
dd(1): Use a local swapbytes() function.
The swab(3) has restrict qualifiers for src and dst.
Avoid relying on undefined overlapping swab behavior.
Taken-from: OpenBSD
Summary of changes:
bin/dd/dd.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb9625b533c994f3f2e0fe5aca2bf38be4757b40
--
DragonFly BSD source repository
More information about the Commits
mailing list