Opened 14 years ago
Closed 14 years ago
#3434 closed defect (fixed)
SQL REPACK in Shapefile uses system specific directory seperator.
Reported by: | chaitanya | Owned by: | chaitanya |
---|---|---|---|
Priority: | high | Milestone: | 1.7.2 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | shapefile |
Cc: | warmerdam, Mateusz Łoskot |
Description
Andrea Aime found the following problem:
The one problem I'm seeing at the moment is an issue trying to repack shapefiles, when I run the sql command "REPACK <layername>" GDAL prints the following error message on the console: ERROR 4: Failed to create temp file /tmp\test-shp7354670084102227244_packed.dbf.
ogrshapelayer.cpp uses oTempFile += '
';
to add a directory separator when it ought to use CPLFormFilename().
Change History (2)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Chaitanya,
Mateusz fixed the issue in trunk in r18897. It would be desirable that you backport it in 1.7 branch.