From: Henry Cross Date: Sun, 26 May 2019 17:03:31 +0000 (-0700) Subject: hfsprogs: Fix wide string literal in fsck_hfs X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cc8b7c8ddcf9154293cc9289678c894b71add484;p=openwrt-packages.git hfsprogs: Fix wide string literal in fsck_hfs Signed-off-by: Henry Cross --- diff --git a/utils/hfsprogs/patches/0016-Fix-fsckhfs-wide-literal.patch b/utils/hfsprogs/patches/0016-Fix-fsckhfs-wide-literal.patch new file mode 100644 index 000000000..5846cc658 --- /dev/null +++ b/utils/hfsprogs/patches/0016-Fix-fsckhfs-wide-literal.patch @@ -0,0 +1,13 @@ +Index: diskdev_cmds-332.25/fsck_hfs.tproj/dfalib/SVerify1.c +=================================================================== +--- diskdev_cmds-332.25.orig/fsck_hfs.tproj/dfalib/SVerify1.c ++++ diskdev_cmds-332.25/fsck_hfs.tproj/dfalib/SVerify1.c +@@ -2848,7 +2848,7 @@ OSErr VLockedChk( SGlobPtr GPtr ) + } + else // Because we don't have the unicode converters, just fill it with a dummy name. + { +- CopyMemory( "\x0dPure HFS Plus", calculatedVCB->vcbVN, sizeof(Str27) ); ++ CopyMemory( u"\x0dPure HFS Plus", calculatedVCB->vcbVN, sizeof(Str27) ); + } + + GPtr->TarBlock = hint;