kballard/go-osx-plist — pull request #2 by jcf (2013-10-20 12:51:40+00:00)
Title: Mavericks (10.9) support

Hi Kevin,

I've been playing around with binary plists the last couple of days in Go, and came across this repo. Unfortunately, it doesn't work on Mavericks, so I've started work on fixing that.

I've coerced `kCFAbsoluteTimeIntervalSince1970` to a `double` because otherwise the code won't compile.

There's a failing tests now, which relates to converting invalid `CFString`s.

```
--- FAIL: TestCFString_Invalid (0.00 seconds)
convert_test.go:67: failed on input: "hello\x00world". Output: "hello". Expected: "hello\x00world"
FAIL
exit status 1
FAIL	_/Users/jcf/Code/go-osx-plist	0.094s
```

I'm not sure why the string gets split on `\x00`. Any thoughts?