apple/swift-log

should use fwrite not fputs

weissi opened this issue · 2 comments

_ = fputs(ptr, self.file)

We should use fwrite and not fputs here... Usually doesn't matter unless we print a 0 byte which could be a hard to debug thing if we lose everything after the 0 byte with fputs.

fixed by #188

Please close this issue