delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=PLNjsLAhwpRjWyNc9rtMkD3cQXcZC8HMdGh28GRLVnW | |
4Xy7x6lrxIT/0TgKR6K5cPPZF/g3qLAWLpUTcvSqvpQ0/8R+pTKbUyTXJ9qVx2Et | |
hVum7KWQnM6uiS/2F6124c+SlQscfDrWHdHM4mslhBLUMIdfnZOmHRSTtDhY7pso | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=7XJ19Lq3+8gZJs0IDfZdlPD+ZuA=; b=EY8hPWFjLHY2jp1l1 | |
YcXXfGIEsXOgQsceC4u4Uws1jAB6OAjsSQF/RRUqmezRSRHEEDmrZ3GYQxKkrMWt | |
N3Tb7XHLhmCjy09rphkP1Ee2WGbjEMk3b5NYWubRKMQqFOCtWc5zlhoNX1s9/9N1 | |
rxVY7BuvvDh2gl3y6kYGptQuoM= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | out4-smtp.messagingengine.com |
Message-ID: | <52EC3F42.4020905@cwilson.fastmail.fm> |
Date: | Fri, 31 Jan 2014 19:26:42 -0500 |
From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: TIFFWriteDirectory() fails on network drive |
References: | <9C9CA6EA23F2394D9A524E7F16235E1201017D85 AT srv1163ex1 DOT flightsafety DOT com> <20140131203810 DOT GB8707 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20140131203810.GB8707@calimero.vinschen.de> |
On 1/31/2014 3:38 PM, Corinna Vinschen wrote: > On Jan 31 14:17, Hsu, Justine wrote: >> The attached program tries to save a blank 64 x 64 TIFF image to specified path. >> When the path specified is local, the images saves fine. >> If the path is on a network drive on a Windows7, then it saves a corrupt file, even after applying this hotfix http://support.microsoft.com/kb/2732673 >> Here is the relevant code: >> >> TIFF *tif = TIFFOpen(argv[1], "w"); Just a hunch, but maybe your local drivers are mounted in unix mode, and the remote is mounted in dos mode. Use "wb" instead of "w"? -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |