delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/18/04:01:46

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5C373861875
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1605690062;
bh=FfBFGtAqf7LNw6o1SQ+v6y3pIVhQ0U6334Uza+FIt1c=;
h=To:References:In-Reply-To:Subject:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=FsGfgZofxYMG2kK5Xtq9aK6IwQfXiF85Qe4Z9DHk2aqk06ShGzMYawJAWu9d90jCH
DsKuQxcXp0WLnitYFQmdk9L7FpEuWUmY3WImG5lwBIV7fP5hnyKmBP4W5iHGHn6yG+
NHLzYpxsHXXe8rSy2toqGNvnEnUCbYXMA4w4IvfY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 45CC2385800A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-transfer-encoding:content-language
:thread-index;
bh=0gw1N941LiqP3b2bMj+lVnDo/tz2NcUBf2PZK1oPNvk=;
b=rYtt1YCkIpRjIn10o6vOttb73aMFVB1mYBeGwxjkjLrNdSzlX09cV6D7JfP4QawwJu
NULmr4/Vdbn0BLrcf7kyHuVoXgbVAsK8bqCrGYVpmTudt5HxtvT22tNHOxoGUQtm2B0I
ubtpXRwST1EPBcAnnyTdzGBP1yFCsor/bZrvU7GF4kwqzKFXmv/3aQMaUu+kcve6uhWJ
6UngzH69BstFm1P0MQcjjowF2q+lHO3bDR345L4uoz3oA6GGLJAprnIqIpiIOLQI5TvV
iJ+2NYpqGjdzCKVGBl9VOH32gzN11Px5hrw88Gbn7Vi05iPLDhq6txTMWKZMGjAGIUuy
8p1g==
X-Gm-Message-State: AOAM532VXEuHhD2q0NwQXl1qQHlHgd43KLHlXSTrzBa2vHHUPZ7zjlHf
9QxZge8BJc1u1bcVQXtCvs9QMMOcgI8=
X-Google-Smtp-Source: ABdhPJy48/amiGpx8l6+Ms9rqQoMwPXS+ZRBNKYohcAifZfBbuBGXhDVybFcUgNjFNkBgnBvW0p1nA==
X-Received: by 2002:a2e:8792:: with SMTP id n18mr3683205lji.57.1605690056384;
Wed, 18 Nov 2020 01:00:56 -0800 (PST)
To: <cygwin AT cygwin DOT com>
References: <000001d6bcf4$736e0300$5a4a0900$@gmail.com>
<11aad449-bcce-5dd3-8ebf-c751e18b5623 AT gmail DOT com>
In-Reply-To: <11aad449-bcce-5dd3-8ebf-c751e18b5623@gmail.com>
Subject: Sv: g++ and c++17 filesystem
Date: Wed, 18 Nov 2020 10:00:55 +0100
Message-ID: <001701d6bd89$53312ff0$f9938fd0$@gmail.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHKWLeqweixRSmrC0T+a8DQvHBrLAIbTLjwqdWA85A=
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kristian Ivarsson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com
Cc: "=?iso-8859-1?Q?'Ren=E9_Berber'?=" <rene DOT berber AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

> On 11/17/2020 9:15 AM, Kristian Ivarsson via Cygwin wrote:
> 
> > The filesystem-library as a part of C++17 seems to have some defects
> > and flaws in the cygwin-package and pretty much every lexical- and
> > canonical operation works in mysterious ways (or not at all)
> [snip]
> 
> https://cygwin.com/cygwin-ug-net/using.html#pathnames-win32

So by this you're saying that cygwin-applications cannot handle the
filesystem it is supposed to handle ? 

How come std::filesystem first say "It's a valid file" followed by "It's not
a valid file" ? Is that part of the "circumvention" ?

In the current use case, the path is even returned from
std::filesystem::directory_iterator where it says "Hey, here's a path to a
file I found in the folder you pointed out" followed by "The path I just
gave to you is not a valid path"

It's gonna be tricky to implement applications in that way




Best regards,
Kristian



> --
> R.Berber
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019