Previously, plist-cil used outFile.Open(FileMode.OpenOrCreate. This had the side effect of, when the old file was larger than the new file, leaving some junk at the end of the file.
Using FileMode.Create fixes that (and if the file already exists, it is overwritten).
@claunia Would be great if you have some time to go over these pull requests :-)
Previously, plist-cil used
outFile.Open(FileMode.OpenOrCreate
. This had the side effect of, when the old file was larger than the new file, leaving some junk at the end of the file.Using
FileMode.Create
fixes that (and if the file already exists, it is overwritten).@claunia Would be great if you have some time to go over these pull requests :-)
Thanks!