From: comicfanzine@gmail.com
Subject: Re: Create in a root directory (Linux)
Date: Wed, 28 Oct 2015 23:41:35 -0700 (PDT)
Date: 2015-10-28T23:41:35-07:00 [thread overview]
Message-ID: <b6b16749-05fb-409c-bede-4317f9511d79@googlegroups.com> (raw)
In-Reply-To: <87wpu6tx5w.fsf@jester.gateway.sonic.net>
Le jeudi 29 octobre 2015 00:01:49 UTC+1, Paul Rubin a écrit :
> Simon Wright <simon@pushface.org> writes:
> >> Create( MonFichier,Name => " /clone.adb");
>
> The problem is the leading space before the /
My fault i have not paste the code right , in fact the code whas without the space :
[code]WITH Ada.Text_IO ; USE Ada.Text_IO ;
PROCEDURE TestFichier IS
MonFichier : File_type ;
BEGIN
Create( MonFichier,Name => "/clone.adb");
if Is_Open (MonFichier) then
Put (Item => "Le fichier , ouvert ? : ", File => MonFichier);
end if;
END TestFichier ;[code/]
I got the error : raised ADA.IO_EXCEPTIONS.USE_ERROR : /clone.adb: Permission denied
next prev parent reply other threads:[~2015-10-29 6:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 17:31 Create in a root directory (Linux) comicfanzine
2015-10-28 20:12 ` Simon Wright
2015-10-28 23:01 ` Paul Rubin
2015-10-29 6:41 ` comicfanzine [this message]
2015-10-29 6:50 ` comicfanzine
2015-10-29 7:00 ` comicfanzine
2015-11-01 14:23 ` Kevin K
2015-11-03 11:12 ` M. Strobel
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox