| Deutsch English Français Italiano |
|
<100lg1k$355u$1@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: comp.lang.c
Subject: Re: encapsulating directory operations
Date: Wed, 21 May 2025 21:19:50 -0000 (UTC)
Organization: To protect and to server
Message-ID: <100lg1k$355u$1@paganini.bofh.team>
References: <100h650$23r5l$1@dont-email.me> <20250520065158.709@kylheku.com> <100i2la$292le$1@dont-email.me> <87a5770xjw.fsf@nosuchdomain.example.com> <100j09o$2f04b$1@dont-email.me>
Injection-Date: Wed, 21 May 2025 21:19:50 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="103614"; posting-host="WwiNTD3IIceGeoS5hCc4+A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.3
Paul Edwards <mutazilah@gmail.com> wrote:
>
> When C90 was being written - or indeed - when K&R was
> being written - if there hadn't been pressure to "bring to market",
> would you EXPECT a language standard - any language
> standard - but in this specific instance the ISO/IEC 9899:1990
> committee - to have included a standard form of directory
> manipulation?
No need to speculate here: Common Lisp standard which is from
similar period as C includes directory manipulation. In modern
times this is considered one of least useful part of the
language: to run "everywhere" this part is baroque and
promises only a little. In practice two standard compliant
Common Lisp implementatios running on the same system can
produce different results from the same operations. So
to use directory operations one have to be very careful to
avoid nonportable parts.
Technically Common Lisp does not have functions to create
or remove directires, it can work only with existing ones.
--
Waldek Hebisch