Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx1.pub.mailpod2-cph3.one.com ([10.27.25.11])
	by mailstorage18.cst.mailpod2-cph3.one.com with LMTP id 8CBdLYe9D1yS7QEAQS8vrQ
	for <filtered@awaresystems.be>; Tue, 11 Dec 2018 13:37:11 +0000
X-HalOne-ID: dbf1dc17-fd49-11e8-b0ec-e0d848957041
Received: from mail-yb1-f173.google.com (unknown [209.85.219.173])
	by mx1.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id dbf1dc17-fd49-11e8-b0ec-e0d848957041;
	Tue, 11 Dec 2018 13:37:10 +0000 (UTC)
Received: by mail-yb1-f173.google.com with SMTP id f125so6707227ybc.0
        for <filtered@awaresystems.be>; Tue, 11 Dec 2018 05:37:10 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :from:to:thread-topic:thread-index:date:message-id:accept-language
         :content-language:mime-version:subject:precedence:list-id
         :list-unsubscribe:list-post:list-help:list-subscribe:errors-to
         :sender;
        bh=BI+GhSJFXTOl00uQowUB4H5SBf8lQdi6Z8AKuQX95lI=;
        b=CDjmPxTTaFp441vu8d6ZD4Tb7BOxxKFS02t+HWyNquG7orpdgdEQEYNqs2iMxvF23k
         zHwvUQZB4HRa549Y/m1shEQFO+IZhMcLIDYLn9Z4hjNdLzR95dIXH5f+FF11GQIO+XGZ
         t9oiFezZHnXLmXBUMS5CuNxVYnCThb1CLSLpvD8dRreYtSGkrypElXe4qn7dG0d7mDHB
         aYFSCs7Yzg5Jf3FPiQIMZRTxh3NE5DH0Wavg+UBjUxJ67FH+bQV51bRjbzEf/lX5kP8A
         iDm2h1IsrUb9a1fgn7XBuyGWw8+bCTcDLpdLD2J9fg1WK2jQP2J9pIWfFcfjvbmcvK/C
         Pv9Q==
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) smtp.mailfrom=tiff-bounces@lists.osgeo.org
X-Gm-Message-State: AA+aEWax7oE0x0Ox/UbsHsYYFXKaUHcwUKJDxcABIzihI5bfTnf5uYAs
	LE/lq+kD9EQLLEY+bD0wNc1hxYl5E2+1T+cZAhQ80OynbiJwxs4=
X-Received: by 2002:a25:b20a:: with SMTP id i10mr8636677ybj.219.1544535429434;
        Tue, 11 Dec 2018 05:37:09 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 2002:a25:2943:0:0:0:0:0 with SMTP id p64csp575227ybp;
        Tue, 11 Dec 2018 05:37:03 -0800 (PST)
X-Google-Smtp-Source: AFSGD/W2Zc8fhgeZaNIVrX/wwYy931lEAQ5nmVI3O7WamUYGnK0fEZnt0JFaqMW0yCm6O9ReeZl5
X-Received: by 2002:a62:5a03:: with SMTP id o3mr16221949pfb.19.1544535423012;
        Tue, 11 Dec 2018 05:37:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1544535422; cv=none;
        d=google.com; s=arc-20160816;
        b=ie1wZKjnE1M8OmjCcwXJhKIODSyWycDrvgD9ubKQKuu60c8gvfMuK0lEyMtwGeXjGl
         ZFz+DHtguByASnhcsMNIQxX6/tpU6BffRfod0EW2XuEGshb3/EDxS3KLhtsdaErT3GgT
         4mNFXylisf9TtVGOnT2MOhFklS+o2csKtncbhZ59Mwp4IsJtAGhVzqw50QfsUHro9+51
         xVWKs39SuKaKQ+EPBxodsIYKlvpmsmYZFgvTf7HGIoSLg64azjRABFa78DPP9DVdyIUE
         f8lykidkKy99bM3pn3MlcXlhl3rSb6dDf7UxnQc5TAtKS39SOFycVrD4frgFVrcJABnl
         44zg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=sender:errors-to:list-subscribe:list-help:list-post
         :list-unsubscribe:list-id:precedence:subject:mime-version
         :content-language:accept-language:message-id:date:thread-index
         :thread-topic:to:from;
        bh=BI+GhSJFXTOl00uQowUB4H5SBf8lQdi6Z8AKuQX95lI=;
        b=skPKDVk7W2eSwZV9O4cY9JPaFWaxZzIQXoL8kvlv5lF/EBOspezuYdyF/txbbvbCG9
         GXnOp8fMGNLFajUoSQ3FolFSPXvUpqgjaGJrvrXwHxk92tPXYwhOsSpVVawlLmEgnON+
         NSgRfN680GQLY1RuSYtRq+D2F3RyH9uALVK6vzUzv4TEZteMd/WigD0bYNvhRW+Jf3Dm
         elNgQo2urDj7AjWvDEncYaNSPO6E6sN4dFy0Bs/Im/cAnxOV+oL9k2ljT5+NUCukZ1x2
         JJ1CWwVRsdj7m/hjNTbLaOXNlW3E9jSPb2by5oKXH3XFayXKDTUcFOL5/yElbeO9AZG7
         UmoQ==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) smtp.mailfrom=tiff-bounces@lists.osgeo.org
Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from lists.osgeo.org (osgeo6.osgeo.osuosl.org. [140.211.15.3])
        by mx.google.com with ESMTPS id h33si12734716plh.119.2018.12.11.05.37.01
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 11 Dec 2018 05:37:02 -0800 (PST)
Received-SPF: pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) client-ip=140.211.15.3;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of tiff-bounces@lists.osgeo.org designates 140.211.15.3 as permitted sender) smtp.mailfrom=tiff-bounces@lists.osgeo.org
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 1788C61445FB;
	Tue, 11 Dec 2018 05:37:01 -0800 (PST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com
 (mail-oln040092070100.outbound.protection.outlook.com [40.92.70.100])
 by lists.osgeo.org (Postfix) with ESMTPS id BADA26146DDB
 for <tiff@lists.osgeo.org>; Tue, 11 Dec 2018 05:36:59 -0800 (PST)
Received: from VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com
 (10.152.18.55) by VE1EUR03HT246.eop-EUR03.prod.protection.outlook.com
 (10.152.19.194) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.18; Tue, 11 Dec
 2018 13:36:57 +0000
Received: from AM4PR0401MB2306.eurprd04.prod.outlook.com (10.152.18.58) by
 VE1EUR03FT032.mail.protection.outlook.com (10.152.18.121) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1382.18 via Frontend Transport; Tue, 11 Dec 2018 13:36:57 +0000
Received: from AM4PR0401MB2306.eurprd04.prod.outlook.com
 ([fe80::d505:9f38:c864:8e2f]) by AM4PR0401MB2306.eurprd04.prod.outlook.com
 ([fe80::d505:9f38:c864:8e2f%2]) with mapi id 15.20.1404.026; Tue, 11 Dec 2018
 13:36:57 +0000
From: Emmanuel Cosnard <emmanuel.cosnard@outlook.fr>
To: "tiff@lists.osgeo.org" <tiff@lists.osgeo.org>
Thread-Topic: SeekOK and WriteOK
Thread-Index: AQHUkVaC2PFqky2OZkiEMYAOzy1dgg==
Date: Tue, 11 Dec 2018 13:36:57 +0000
Message-ID: <AM4PR0401MB2306B293098F2767AA91FE27F7A60@AM4PR0401MB2306.eurprd04.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-incomingtopheadermarker: OriginalChecksum:D8073BC3388B0371E99CDA3350B8EEA8F8C67B222BCEDB5166578E773D99FC28;
 UpperCasedChecksum:3AF0E81B3749F5905F4AFA49C4C3625BB893537A8CB7343D2A826A27F1D4B598;
 SizeAsReceived:6822; Count:43
x-tmn: [K0gOerfqg2bVTGzoy+rDRF8liZshqOBE]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VE1EUR03HT246;
 6:gvsG2HIQlIYpbMCARKZleMDBCYtPjbVZ6YOatyGvt9ZyUtDbVlSdrcW4gBVNKok8B0CBSNYl880t0wNFCZXk/0O0WLvrXi1yL7pkoHiflvTxbf8brliZCcIusGNrZZLaL2vKzFYTgxtx9vZNOGHcNJDKZbKjk0mzFFz8Q2y6g1R1vO+i8tUPDVCq+mjDI0nWXakxIn9g5WBHASZ8MAdsEvE9lS7ylN49dsALJWtMkkdwCH+geXj+7a0zJT7dhXYVEk0HYxeqZJoN2dSR+v1HOmWDHyTknz4Q+fMBcAWZzrlFymKQWRQQ5W5dQrhR1tThaXc3pqQs6iQDbFyHDxyJ9L0mwUY1D4Gatiq89Ut9j/81MS5krC7+hWJKCMEEVu8xJgphNCLCfCAxkz6cBgMNX5FrB/h7qhNo8skf27UxsmDo1aOtsr4dG7hU6nFy4cSXM6DYb02+rtJ8Ad3I3F+mLg==;
 5:sz3i369ByNckPVtKMALcd8u5k4E/WtguWnuxZL//qZCU196dbVd30jB1FPhbg6zFIGuwnpmIHW3tQkL8CsQPheN7KlIqhWfSdBimuN+mmzuiYGDcbo8FxeJuCuiR4SeyCy+PMgdE1o1o+RzVs4GfmM9O98MpNXtBMigEA5DS3VM=;
 7:y8HEGHrg/pOqNPif/3VLr8EeM2A8Qz2ckhP8GwrPfVoZh0w7fRIWXSv/7ggcd5tWMcuA4jyj6ysDGnXogSiV2lfa0TEoP43Wnqbitx6ks2Y+UlHiMrNasbPsnEfiqsaWGopG+Y3qfj3L/47GXXJvzw==
x-incomingheadercount: 43
x-eopattributedmessage: 0
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390098)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101475)(1601125500)(1701031045);
 SRVR:VE1EUR03HT246; 
x-ms-traffictypediagnostic: VE1EUR03HT246:
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058);
 SRVR:VE1EUR03HT246; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR03HT246; 
x-microsoft-antispam-message-info: NTAUSx0orZ9a2U0kKvAFtk/tPsHMM4z9IJFRVqRcq8dAkDDs/q+quK03qGDEZlz6
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 5dab7a8a-ebdc-4bd9-9cfd-67cde50b170b
X-MS-Exchange-CrossTenant-Network-Message-Id: 47f830c0-f534-4550-ed52-08d65f6db8d7
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 5dab7a8a-ebdc-4bd9-9cfd-67cde50b170b
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2018 13:36:57.5495 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT246
Subject: [Tiff] SeekOK and WriteOK
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.osgeo.org>
List-Unsubscribe: <https://lists.osgeo.org/mailman/options/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=unsubscribe>
List-Post: <mailto:tiff@lists.osgeo.org>
List-Help: <mailto:tiff-request@lists.osgeo.org?subject=help>
List-Subscribe: <https://lists.osgeo.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7470633312377819294=="
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

--===============7470633312377819294==
Content-Language: fr-FR
Content-Type: multipart/alternative;
	boundary="_000_AM4PR0401MB2306B293098F2767AA91FE27F7A60AM4PR0401MB2306_"

--_000_AM4PR0401MB2306B293098F2767AA91FE27F7A60AM4PR0401MB2306_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I am using the function TIFFWriteData to write some data on a custome ratio=
nnal tag, and it seems, that on some rare occasion,
if (SeekOK(tif, dir->tdir_offset) && WriteOK(tif, cp, cc))
Is there a way to do some intelligent retry here, instead of returning an e=
rror? Or can we know why the WriteOK or SeekOK didn't work properly?

Thanks and regards,

Emmanuel

--_000_AM4PR0401MB2306B293098F2767AA91FE27F7A60AM4PR0401MB2306_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<span>Hello,<br>
</span>
<div><br>
</div>
<div>I am using the function TIFFWriteData to write some data on a custome =
rationnal tag, and it seems, that on some rare occasion,<br>
</div>
<div>if (SeekOK(tif, dir-&gt;tdir_offset) &amp;&amp; WriteOK(tif, cp, cc))<=
br>
</div>
<div>Is there a way to do some intelligent retry here, instead of returning=
 an error? Or can we know why the WriteOK or SeekOK didn't work properly?<b=
r>
</div>
<div><br>
</div>
<div>Thanks and regards,<br>
</div>
<div><br>
</div>
<span>Emmanuel</span><br>
</div>
</body>
</html>

--_000_AM4PR0401MB2306B293098F2767AA91FE27F7A60AM4PR0401MB2306_--

--===============7470633312377819294==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVGlmZiBtYWls
aW5nIGxpc3QKVGlmZkBsaXN0cy5vc2dlby5vcmcKaHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFp
bG1hbi9saXN0aW5mby90aWZmCg==

--===============7470633312377819294==--
