Commit af1dee9
committed
Fix errors when writing to individual file-handles, fix corresponding tests
Previous tests failed to detect the errors because the errors only happen when trying to add a record or shape; fixed.
Files were not closed and thus did not flush the updated header data; fixed.
Made sure shx records were only written if shx file was available.1 parent ff51716 commit af1dee9
File tree
18 files changed
+111
-38
lines changed- shapefiles/test
18 files changed
+111
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1861 | 1861 | | |
1862 | 1862 | | |
1863 | 1863 | | |
1864 | | - | |
1865 | | - | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
1872 | 1871 | | |
1873 | 1872 | | |
1874 | 1873 | | |
| |||
2088 | 2087 | | |
2089 | 2088 | | |
2090 | 2089 | | |
2091 | | - | |
| 2090 | + | |
| 2091 | + | |
2092 | 2092 | | |
2093 | 2093 | | |
2094 | 2094 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments