Mailing Lists
| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Patch to use filename from Content-disposition header
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Thu, 31 Dec 2009 00:09:40 +0100
Kamil Dudka wrote:
fopen(3) cannot open a file for writing and fail if it exists, only open(2) can do that. Hence a separate check call is necessary if we want this feature to not overwrite existing files. I think that is a nice safety catch.
Thank you for the feedback. Here's an updated patch.
-- Björn
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info