Commit 2791f86
committed
gh-152433: Windows: Use GetFileSizeEx instead of GetFileSize
GetFileSizeEx is available in all supported Windows versions and has the
advantage is also present in UWP, then allows build also in UWP with
the same common code.
It also simplifies error checking and makes handling files larger
than 4GB easier.1 parent 9751e1d commit 2791f86
2 files changed
Lines changed: 10 additions & 21 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
818 | 813 | | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
| 814 | + | |
823 | 815 | | |
824 | 816 | | |
825 | 817 | | |
| |||
2127 | 2119 | | |
2128 | 2120 | | |
2129 | 2121 | | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
| 2122 | + | |
| 2123 | + | |
2136 | 2124 | | |
| 2125 | + | |
2137 | 2126 | | |
2138 | 2127 | | |
2139 | 2128 | | |
2140 | | - | |
2141 | | - | |
| 2129 | + | |
2142 | 2130 | | |
2143 | 2131 | | |
2144 | 2132 | | |
| |||
0 commit comments