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-Thread: 103376,fef3ad775ef4b0b7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.uni-stuttgart.de!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 22 Oct 2008 11:26:14 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada for 1st year students References: <60e0c5f0-1e17-4add-b21e-b1ef622d5233@v13g2000pro.googlegroups.com> <31b1da2d-1429-4fec-8b9f-161c8c96aaaa@l33g2000pri.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <48fef1b6$0$14060$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 22 Oct 2008 11:26:15 CEST NNTP-Posting-Host: 5d959b44.newsspool3.arcor-online.net X-Trace: DXC=KObaPVR^CgiJ00P1S40fZgMcF=Q^Z^V3h4Fo<]lROoRa4nDHegD_]Remna8NX5D^3b;9OJDO8_SKfNSZ1n^B98ijg[13e?dSFVf X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:2457 Date: 2008-10-22T11:26:15+02:00 List-Id: amado.alves@gmail.com schrieb: > Yes they solved that problem. I was wrong. The problem is different. > It's not the spaces, it's non-ASCII characters in file names. Still a > problem thou :-( For example I have a procedure called Fun��o_H. The > file name appears like "funo.adb" on the file manager, and AdaGIDE > cannot build an executable. May be a problem of the OS, or of the > combination AdaGIDE-OS. I guess that the Rumpelstilskins of engineering will tell you that those Portuguese characters are unnecessary. They are not found on international keyboards anyway, right? Or maybe they will refer you to a "solution" such as pragma Source_File_Name. Of course, Windows PC OS is the culprit, extending its technical lead into Ada programming tools! Let's see what an "It Just Works" Scottish computer has to say: $ file fun��o_h.adb fun��o_h.adb: UTF-8 Unicode text $ gnatmake -gnatW8 -gnati8 fun��o_h.adb gcc -c -gnatW8 -gnati8 fun��o_h.adb gnat1(98261) malloc: *** mmap(size=1638400000) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug fun��o_h.adb:1:13: missing "(" compilation abandoned due to previous error gnatmake: "fun��o_h.adb" compilation error $ # The above is a process running out of memory in just a few secods $ cat fun��o_h.adb function Fun��o_H return Natural is begin return 1; end Fun��o_H; $ uname -v |cut -f 1 -d ';' Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008 Quite possibly you can inject a DOS into a source code build system this way ;-) Retro rulez.