Commit 960813a
committed
Fix for Manifest.plist parsing on Windows.
Due to a bug in the `Mac::PropertyList` Perl module, binary plist
files (Manifest.plist, Status.plist) are sometimes randomly
appear to be corrupted when running on Windows. When this happens,
the script usually ends with the infamous `Not a HASH reference
at ios_backup_extractor.pl line 729` error.
Before this bug is fixed in an upstream module [1], this change
explicitly forces Manifest.plist and Status.plist to be read in
a binary mode, thus avoiding the problematic code path.
[1]: briandfoy/mac-propertylist#261 parent 675f835 commit 960813a
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
800 | | - | |
| 800 | + | |
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
| |||
0 commit comments