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=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,2d7ec12dd7db366
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2001-09-30 08:05:12 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!npeer.kpnqwest.net!news.edf.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: How to rename a file?
Date: 30 Sep 2001 16:53:07 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Sender: obry@PASCAL
Message-ID:
References:
<87zo7dasiy.fsf@deneb.enyo.de>
NNTP-Posting-Host: 163.107.131.27
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: clnews.edf.fr 1001861681 29748 163.107.131.27 (30 Sep 2001 14:54:41
GMT)
X-Complaints-To: newsadm@news.edf.fr
NNTP-Posting-Date: 30 Sep 2001 14:54:41 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106
Xref: archiver1.google.com comp.lang.ada:13553
Date: 2001-09-30T14:54:41+00:00
List-Id:
Florian Weimer writes:
> Pascal Obry writes:
>
> >> made on "frameworks" (which POSIX bindings may perhaps also be included, as
> >> cross platform was in mind) and tools that abstract the C interfaces and
> >> work in a more Ada like nature.
> >
> > I won't call POSIX a framework since it is a _binding_ but yet not a
> > thin one.
>
> Most POSIX.5 implementations aren't bindings.
>
> > And yes in cross-platform environemnt it is definitly the choice,
> > this is why I do use it!
>
> IMHO, the POSIX.5 interface is a horrible mess, combining the
> uselessness of POSIX.1 with some additional unfortunate design
> decisions.
Maybe, maybe not... I'm not a POSIX expert ! But yet I have some large
applications that run without modification on Linux and Windows using a lot
OS routines (Renaming files, running subprocess, waiting for process to
terminate, retrieving environment variable values, retrieving all files on a
specific directory...). I'm not saying that POSIX is in theory a good choice
but it is the best choice I have seen so far... Do you know of other choices ?
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"