From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!news.uni-stuttgart.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Exclusive file access Date: Mon, 07 Sep 2015 20:27:58 +0200 Message-ID: <87fv2qw0cx.fsf@mid.deneb.enyo.de> References: <75714e3f-c047-413d-9aa5-3ff423167863@googlegroups.com> <1440837116.20971.33.camel@obry.net> <87oahpovpn.fsf@mid.deneb.enyo.de> <87y4gsmut1.fsf@mid.deneb.enyo.de> <87zj179n7n.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.enyo.de 1441650478 28881 192.168.18.20 (7 Sep 2015 18:27:58 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:WSs6qr4Pssik268Ql5bHnIClAjA= Xref: news.eternal-september.org comp.lang.ada:27734 Date: 2015-09-07T20:27:58+02:00 List-Id: * Dmitry A. Kazakov: > Anything you can encode in Unicode you can encode in Unicode. This is simply not true across multiple Unicode versions (and when dealing with multi-byte encodings). It is not possible to express all possible UCS-2 sequences in UTF-32, in the sense that converting from UTF-32 completely covers the entire set of UCS-2 strings. >> The user may select a file, but the application cannot open it. >> That's a poor user experience. > > That is not a problem at all. You cannot create a 999TB large file either. Well ... -rw-r--r-- 1 fw fw 1098412116148224 Sep 7 20:23 t And I expect that I can delete it, too. Anything else would be a bug. > System-specific constraints put on an implementation do not effect the > interface, which has Name_Error in it already. It's not a constraint that the system imposes, it's something that requires careful thought from the programming language implementor. If they impose stronger constraints on strings than what the file system enforces, you end up with non-nameable files and a poor user experience.