mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
hfsprogs: Fix wide string literal in fsck_hfs
Signed-off-by: Henry Cross <51044550+solenoglyph@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user