Return-Path: <SRS0=zYmX=B5=lists.osgeo.org=tiff-bounces@osgeo.org>
Delivered-To: filtered@awaresystems.be
Received: from mx1.pub.mailpod8-cph3.one.com ([10.27.38.11])
	by mailstorage22.cst.mailpod8-cph3.one.com with LMTP
	id wF3gLvxLg2RuTQAAwT5NuQ
	(envelope-from <SRS0=zYmX=B5=lists.osgeo.org=tiff-bounces@osgeo.org>)
	for <filtered@awaresystems.be>; Fri, 09 Jun 2023 15:57:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=custmx.one.com; s=20201015;
	h=sender:content-type:reply-to:from:list-subscribe:list-help:list-post:
	 list-unsubscribe:list-id:subject:cc:to:message-id:date:in-reply-to:references:
	 mime-version:x-halone-refid:x-halone-sa:from:x-halone-sa:x-halone-refid;
	bh=h4aNA4lNNFxgOtLFqvAjoK1gCngtPvsXeI48HVmHHQA=;
	b=LB3RqqGoJcQ9UVLl4wN6hw8DPg9LLWVJpDXo0j57MVyED54PTDi8mtB103WQPsIoMgWQWkvn5qJNB
	 BgaOE0/lqdCog8Ht8AohV4g4Iz4FUxgJuFG6/CdYI6aEdxKYTvCn/37509zWplZn0lozFPfDNhH3y2
	 5MxgJRpdYMplgVa6RI8fVr99DcDGClftM03aP258AQvMhWhTfqtBhr2nE8MR507cdZR9BSHgMmZNlP
	 Kno9FeGJ3e57dutbVHy4rZQ1oDWjpzY/yffABxjO/W+uAlmr3uIc42E4cU6iVi4xkg0h5i1rfmoNDe
	 KqqvqLKvh1rZlaVZCzc/4Rs8bhGuqqA==
X-HalOne-SA: -1
X-HalOne-RefID: 155866::1686326268-6C30305C-7AF54328/0/0
X-HalOne-ID: 5ff1eb17-06de-11ee-9462-98039b0f6c32
Received: from lists.osgeo.org (osgeo6.osgeo.osuosl.org [140.211.15.3])
	by mx1.pub.mailpod8-cph3.one.com (Halon) with ESMTPS
	id 5ff1eb17-06de-11ee-9462-98039b0f6c32;
	Fri, 09 Jun 2023 15:57:47 +0000 (UTC)
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 6FE33601662A;
	Fri,  9 Jun 2023 08:57:43 -0700 (PDT)
Received: from mail-io1-f53.google.com (mail-io1-f53.google.com
 [209.85.166.53])
 by lists.osgeo.org (Postfix) with ESMTPS id 38A086057189
 for <tiff@lists.osgeo.org>; Fri,  9 Jun 2023 08:57:42 -0700 (PDT)
Received: by mail-io1-f53.google.com with SMTP id
 ca18e2360f4ac-77a1cad6532so85585639f.1
 for <tiff@lists.osgeo.org>; Fri, 09 Jun 2023 08:57:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1686326261; x=1688918261;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=saqhJaqzJcTVOyI+5aHbmNC0ZCHVrECiJjYcypIRLQI=;
 b=P89FywWZ7FaJJyhZAt7eGar9rUVABNjyGcIyGXU65rCv9vzWj2A7k9NtdGxS/PzHNO
 A0RreeUx4eYQdlRQtu7D2DYrtPgLfLpCJLB85nJ1EtZ11vWgaYi+asinru3kiNhe//s3
 JIcrmRXDuwGfeZY0jC2wGSDwj6+MywLyJs1Dj4knm6R+yEQzW5+wNbj9BEA1JKA9wC+A
 ejCyejWqpcN4gTdVOvWrlD0LH9fqEGV1zpyVDl9mqwoOOwNT1V1D8eA9vJZlU10D2Giu
 2BFdeMe+bp75fELsSREZMeGyVrEvTtDywZ5YtJW0/E1791TQmzpsVqaTptRA1XEib+1y
 KydA==
X-Gm-Message-State: AC+VfDyo07Pjw8748oW1mOhcGkCXNXtlYIfQAo6LiNL3wHpV0XGUfRj3
 Y1daUzuhCcddbgj8Hw/XZ6e72b5wIyIYPmBnjIArXA==
X-Google-Smtp-Source: ACHHUZ66jFIZAV5KfFbNQh8yFZdUT5baOFw7kqmoZ7QBlgnggezrY+cq0MPVkz9d/cD5OPZjZC3mu+pMfQJVpzPNf7c=
X-Received: by 2002:a92:2909:0:b0:33c:9631:3eaa with SMTP id
 l9-20020a922909000000b0033c96313eaamr2084262ilg.2.1686326261336; Fri, 09 Jun
 2023 08:57:41 -0700 (PDT)
MIME-Version: 1.0
References: <a76fbc18-9953-22df-ca39-b3fdccf7367f@spatialys.com>
In-Reply-To: <a76fbc18-9953-22df-ca39-b3fdccf7367f@spatialys.com>
Date: Fri, 9 Jun 2023 11:57:30 -0400
Message-ID: <CAEZ8u0k_CLvcoQJb+C2yfVFgHYL+a+N36ecbvsVBoEAGXOHV8w@mail.gmail.com>
To: Even Rouault <even.rouault@spatialys.com>, sulau@freenet.de
Cc: "tiff@lists.osgeo.org" <tiff@lists.osgeo.org>
Subject: Re: [Tiff] libtiff v4.5.1 RC1 available
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.34
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>
From: Edward Lam via Tiff <tiff@lists.osgeo.org>
Reply-To: Edward Lam <edward@sidefx.com>
Content-Type: multipart/mixed; boundary="===============4844473354215210775=="
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

--===============4844473354215210775==
Content-Type: multipart/alternative; boundary="000000000000c8686105fdb46d2a"

--000000000000c8686105fdb46d2a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

On the tif_win32.c change which said:
- Behavior of TIFFOpen() mode "r+" in the Windows implementation adjusted
to that of Linux.

I still see in `TIFFOpenWExt()` that we have:
```
        case O_RDWR:
            dwMode =3D OPEN_ALWAYS;
            break;
```
Doesn't this need to be changed to OPEN_EXISTING as well?

On reading this code now, I'm not sure that the O_TRUNC case is handled
correctly either since I don't see TRUNCATE_EXISTING being used anywhere.

Best regards,
-Edward


On Fri, Jun 9, 2023 at 9:07=E2=80=AFAM Even Rouault <even.rouault@spatialys=
.com>
wrote:

> Hi,
>
> I've prepared a release candidate for libtiff v4.5.1:
>
> - https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.gz
> - https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.gz.sig
> - https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.xz
> - https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.xz.sig
> - https://download.osgeo.org/libtiff/tiff-4.5.1rc1.zip
> - https://download.osgeo.org/libtiff/tiff-4.5.1rc1.zip.sig
>
> Release notes at https://libtiff.gitlab.io/libtiff/releases/v4.5.1.html
>
> I'll promote it to final next week if no serious blocking issues are
> reported.
>
> Thanks to all contributors.
>
> Best regards,
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
> _______________________________________________
> Tiff mailing list
> Tiff@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/tiff
>

--000000000000c8686105fdb46d2a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>On the tif_win32.c change which sai=
d:</div>- Behavior of TIFFOpen() mode &quot;r+&quot; in the Windows impleme=
ntation adjusted to that of Linux.<div><br></div><div>I still see in `TIFFO=
penWExt()` that we have:</div><div>```</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 case O_RDWR:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dwMode =3D OP=
EN_ALWAYS;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 break;<br></div><di=
v>```</div><div>Doesn&#39;t this need to be changed to OPEN_EXISTING as wel=
l?<br></div><div><div><div><div><br></div><div>On reading this code now, I&=
#39;m not sure that the O_TRUNC case is handled correctly either since I do=
n&#39;t=C2=A0see TRUNCATE_EXISTING being used anywhere.</div><div><br></div=
><div>Best regards,</div></div></div></div><div>-Edward</div><div><br></div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>On Fri, Jun 9, 2023 at 9:07=E2=80=AFAM Even Rouault &lt;<a href=3D"mailto:=
even.rouault@spatialys.com" target=3D"_blank">even.rouault@spatialys.com</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,=
<br>
<br>
I&#39;ve prepared a release candidate for libtiff v4.5.1:<br>
<br>
- <a href=3D"https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.gz" rel=
=3D"noreferrer" target=3D"_blank">https://download.osgeo.org/libtiff/tiff-4=
.5.1rc1.tar.gz</a><br>
- <a href=3D"https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.gz.sig" r=
el=3D"noreferrer" target=3D"_blank">https://download.osgeo.org/libtiff/tiff=
-4.5.1rc1.tar.gz.sig</a><br>
- <a href=3D"https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.xz" rel=
=3D"noreferrer" target=3D"_blank">https://download.osgeo.org/libtiff/tiff-4=
.5.1rc1.tar.xz</a><br>
- <a href=3D"https://download.osgeo.org/libtiff/tiff-4.5.1rc1.tar.xz.sig" r=
el=3D"noreferrer" target=3D"_blank">https://download.osgeo.org/libtiff/tiff=
-4.5.1rc1.tar.xz.sig</a><br>
- <a href=3D"https://download.osgeo.org/libtiff/tiff-4.5.1rc1.zip" rel=3D"n=
oreferrer" target=3D"_blank">https://download.osgeo.org/libtiff/tiff-4.5.1r=
c1.zip</a><br>
- <a href=3D"https://download.osgeo.org/libtiff/tiff-4.5.1rc1.zip.sig" rel=
=3D"noreferrer" target=3D"_blank">https://download.osgeo.org/libtiff/tiff-4=
.5.1rc1.zip.sig</a><br>
<br>
Release notes at <a href=3D"https://libtiff.gitlab.io/libtiff/releases/v4.5=
.1.html" rel=3D"noreferrer" target=3D"_blank">https://libtiff.gitlab.io/lib=
tiff/releases/v4.5.1.html</a><br>
<br>
I&#39;ll promote it to final next week if no serious blocking issues are <b=
r>
reported.<br>
<br>
Thanks to all contributors.<br>
<br>
Best regards,<br>
<br>
-- <br>
<a href=3D"http://www.spatialys.com" rel=3D"noreferrer" target=3D"_blank">h=
ttp://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
_______________________________________________<br>
Tiff mailing list<br>
<a href=3D"mailto:Tiff@lists.osgeo.org" target=3D"_blank">Tiff@lists.osgeo.=
org</a><br>
<a href=3D"https://lists.osgeo.org/mailman/listinfo/tiff" rel=3D"noreferrer=
" target=3D"_blank">https://lists.osgeo.org/mailman/listinfo/tiff</a><br>
</blockquote></div>

--000000000000c8686105fdb46d2a--

--===============4844473354215210775==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff

--===============4844473354215210775==--
