Commit Graph

2 Commits

Author SHA1 Message Date
Tianyi Cui
4bf2ef89c4 fix(jsonl): bind MoveFileExW with the Win32 BOOL ABI
Declare MoveFileExW's return value as Koffi int and model it as a numeric 32-bit Win32 BOOL. The previous Koffi bool declaration represented a one-byte C boolean and could read the native return register with the wrong ABI.

Test zero and nonzero results explicitly and assert the binding result type while preserving the existing write-through flags, error translation, and durable directory race behavior.
2026-07-19 12:44:47 +08:00
Huanqi Cao
e15a6168d2 Support durable JSONL persistence on Windows 2026-07-18 12:40:12 +08:00