Opened 2 years ago

Closed 2 years ago

#6049 closed defect (fixed)

vsi_mem does not create file when open mode is append

Reported by: Lucian Plesea Owned by: warmerdam
Priority: normal Milestone: 2.0.1
Component: default Version: 1.10.0
Severity: normal Keywords:
Cc:

Description

Open with "a" in the mode string should create the file if it doesn't exits. The attached patch is against port/cpl_vsi_mem.cpp from the 1.10.0 version, it works for 2.0.0 also.

Attachments (1)

cpl_vsi_mem.patch (878 bytes) - added by Lucian Plesea 2 years ago.
port/cpl_vsi_mem.cpp patch

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by Lucian Plesea

Attachment: cpl_vsi_mem.patch added

port/cpl_vsi_mem.cpp patch

comment:1 Changed 2 years ago by Even Rouault

Milestone: 2.0.1
Resolution: fixed
Status: newclosed

trunk r29580, branches/2.0 r29581 "/vsimem/: implement append mode (patch by lplesea, #6049)"

Note: See TracTickets for help on using tickets.