Opened 15 years ago

Closed 15 years ago

#2920 closed defect (fixed)

Geoconcept : segfault when using a directory as destination dataset

Reported by: dgrichard Owned by: dgrichard
Priority: normal Milestone: 1.7.0
Component: OGR_SF Version: 1.6.0
Severity: normal Keywords: geoconcept
Cc: Even Rouault

Description

When specifying a destination dataset that does not contain an extension (.gxt ou .txt), the geoconcept driver segfaults.

This feature was not initially supported by the driver. Fixing this bug made it now supported for creating new datasets, not for updating them. The attached patch corrects the bug.

Attachments (1)

geoconcept_dircreation.diff (6.0 KB ) - added by dgrichard 15 years ago.

Download all attachments as: .zip

Change History (7)

by dgrichard, 15 years ago

Attachment: geoconcept_dircreation.diff added

comment:1 by dgrichard, 15 years ago

patch applied r16682

comment:2 by Mateusz Łoskot, 15 years ago

Richard,

Just a side note, you don't need to include full URL of ticket in the log message. You can just use #X where X is number of ticket:

Bug fix for #2920

Similarly, you can refer in log to particular revision (changeset) by using r + number (i.e. r16682)

It's just shorter and Trac will recognize it perfectly well.

in reply to:  2 comment:3 by dgrichard, 15 years ago

Replying to mloskot:

Thanks a lot, I'll try to remember that.

comment:4 by Mateusz Łoskot, 15 years ago

Didier,

Sorry for not calling you Didier. Even corrected me that Richard is your last name.

in reply to:  4 comment:5 by dgrichard, 15 years ago

Replying to mloskot:

No problem Mateusz, I'm used to that : in France both words can be used at first/last names !-)

comment:6 by Even Rouault, 15 years ago

Milestone: 1.7.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.