Sujet : Re: encapsulating directory operations
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : comp.lang.cDate : 21. May 2025, 12:06:03
Autres entêtes
Organisation : Fix this later
Message-ID : <100kc2r$2pl8d$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla Thunderbird
On 21/05/2025 11:44, Paul Edwards wrote:
<snip>
The language standard would need to say something along
the lines of "if any filenames contain a NL character, the
results are implementation-defined".
Any issue with that?
Were this an ISO standard, making something implementation-defined would be a big deal, because it means: "unspecified behavior where each implementation documents how the choice is made." (See 3.4.1(1).)
That is, it imposes a specific documentation requirement on each and every conforming implementation.
Is that your intent? Because if it isn't, your language standard would need to think carefully about what /it/ means by "implementation-defined".
-- Richard HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within