220 11518 <CALQmNFgps_AbVWrt98jfmaJHrBRiwO_RAV1Xa31ZSjVaYkny1g@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Sean Middleditch <sean@middleditch.us>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Feedback to n3940 [Filesystem]
Date: Wed, 18 Jun 2014 17:01:48 -0700
Lines: 28
Approved: news@gmane.org
Message-ID: <CALQmNFgps_AbVWrt98jfmaJHrBRiwO_RAV1Xa31ZSjVaYkny1g@mail.gmail.com>
References: <539D8898.1030103@gmx.de>
	<9fe25f12-aef5-4e1e-a9ef-e4f47391ad6b@isocpp.org>
	<539F41FB.4040601@gmx.de>
	<CAGg_6+NuRAnMU8Rc5aBgpAvo3GpEzrEg8O2h+yjtKcGB1uzuRw@mail.gmail.com>
	<72d0e0dd-477e-40cb-b0b8-3c8e154cb43f@isocpp.org>
	<CAGg_6+Nye5wbpvLCZRY1FtVxXiLUTOd+ri_ewSxHPVuvnF-qzQ@mail.gmail.com>
	<6d7b8bf6-170a-40af-ae94-802bfbd091bf@isocpp.org>
	<6d07a6d0-7bab-4273-87a2-4ba132e2a97a@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1403136119 25103 80.91.229.3 (19 Jun 2014 00:01:59 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 19 Jun 2014 00:01:59 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCDODCNR2QPRB3OQRCOQKGQEDYDCELI@isocpp.org Thu Jun 19 02:01:53 2014
Return-path: <std-proposals+bncBCDODCNR2QPRB3OQRCOQKGQEDYDCELI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f69.google.com ([209.85.220.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCDODCNR2QPRB3OQRCOQKGQEDYDCELI@isocpp.org>)
	id 1WxPna-0007UA-RS
	for gclcip-std-proposals@m.gmane.org; Thu, 19 Jun 2014 02:01:51 +0200
Original-Received: by mail-pa0-f69.google.com with SMTP id kq14sf5577659pab.4
        for <gclcip-std-proposals@m.gmane.org>; Wed, 18 Jun 2014 17:01:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
         :message-id:subject:from:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=ZjYpzrHm35/1bLlrP2L0v4pNWwV3r1A16zUXIyoKHRM=;
        b=LTuhm2LOQkteoe0Ahr6+KHtrz/Pfy2dBRMFcACPIXZQ+ODZ6oT+v7IJ4fKgFPt8qnU
         pBwI8AjLwLF/Jx42IskqUTFsZzyfWlmxyG6DA+3MxsXSN0wQbwrFFhZTe2RrKKCdNCSU
         cEqJO6ssXJu2yVVIObnnLRqFifQXkM13L/X+KsiA0TIVF+XSNo2rXFskhmPr9qyCnXT6
         T8Chb3193r1z+UJPLKoTRKyGu+BWB5rsrJ6F6y1ZNX/0JGDRtdH8QDli7SXS2ZSehph9
         nbHKhEn9I9KCqJusSdfPvYwDg4BAz9rqNM6wKF7Lz91W8/guztjQhqV5fWk65kte/JP0
         eSYw==
X-Gm-Message-State: ALoCoQk4l1srfoqxRL2YQR2vbV8r/hafgz4nQ4ChhOLKs1OJIJyBFVg+OCBNaT7b2EF7/Ezwo2Mo
X-Received: by 10.66.236.136 with SMTP id uu8mr775984pac.13.1403136109807;
        Wed, 18 Jun 2014 17:01:49 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.85.138 with SMTP id n10ls332372qgd.4.gmail; Wed, 18 Jun
 2014 17:01:49 -0700 (PDT)
X-Received: by 10.221.37.1 with SMTP id tc1mr850872vcb.32.1403136109013;
        Wed, 18 Jun 2014 17:01:49 -0700 (PDT)
Original-Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [2607:f8b0:400c:c01::229])
        by mx.google.com with ESMTPS id ev7si1560267vdb.36.2014.06.18.17.01.48
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 18 Jun 2014 17:01:48 -0700 (PDT)
Received-SPF: pass (google.com: domain of sean.middleditch@gmail.com designates 2607:f8b0:400c:c01::229 as permitted sender) client-ip=2607:f8b0:400c:c01::229;
Original-Received: by mail-ve0-f169.google.com with SMTP id pa12so1605593veb.14
        for <std-proposals@isocpp.org>; Wed, 18 Jun 2014 17:01:48 -0700 (PDT)
X-Received: by 10.52.94.8 with SMTP id cy8mr640424vdb.39.1403136108700; Wed,
 18 Jun 2014 17:01:48 -0700 (PDT)
Original-Sender: sean.middleditch@gmail.com
Original-Received: by 10.58.116.173 with HTTP; Wed, 18 Jun 2014 17:01:48 -0700 (PDT)
In-Reply-To: <6d07a6d0-7bab-4273-87a2-4ba132e2a97a@isocpp.org>
X-Original-Sender: sean@middleditch.us
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of sean.middleditch@gmail.com designates 2607:f8b0:400c:c01::229 as
 permitted sender) smtp.mail=sean.middleditch@gmail.com;       dkim=pass header.i=@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:11518
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11518>

On Wed, Jun 18, 2014 at 2:46 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> Why would such an app need to know writability for each image?

It might display an icon indicating that it is read-only or
hide/disable buttons by default that modify the image. There are
plenty of examples of applications like this. Many text editors use
this information. Content systems like 3D editors and game editors
often do it. Web-based file services sometimes do it. A file manager
needs it. Office does it. etc.

Clearly more than just `ls` that uses such a basic operation.

> Opening read-write at first and falling back to read-only if that fails
> seems reasonable. You need to do something anyway, right?

"Try an operation you don't actually need to do in order to check a
property" is not, to me, a good definition for "reasonable."

Ultimately it's not a huge deal. Platform APIs aren't going away anytime soon

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
