Opened 13 years ago

Closed 13 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 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by dgrichard

Attachment: geoconcept_dircreation.diff added

comment:1 Changed 13 years ago by dgrichard

patch applied r16682

comment:2 Changed 13 years ago by Mateusz Łoskot

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.

comment:3 in reply to:  2 Changed 13 years ago by dgrichard

Replying to mloskot:

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

comment:4 Changed 13 years ago by Mateusz Łoskot

Didier,

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

comment:5 in reply to:  4 Changed 13 years ago by dgrichard

Replying to mloskot:

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

comment:6 Changed 13 years ago by Even Rouault

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