This repository was archived by the owner on May 24, 2026. It is now read-only.
Commit 2a6210b
Use native Windows API for setting file creation time
GLib's g_file_set_attributes_from_info may not support writing the
time::created attribute on Windows. Use CreateFileW + SetFileTime
directly to set creation, access, and modification times on extracted
cabinet files. This ensures the IntegrationTest timestamp comparison
passes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6c9fb5b commit 2a6210b
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
734 | 738 | | |
735 | 739 | | |
736 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
737 | 770 | | |
738 | 771 | | |
739 | 772 | | |
| |||
0 commit comments