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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd6c,fdc46188f27004ac,start X-Google-Attributes: gidfcd6c,public X-Google-Thread: 111240,fdc46188f27004ac,start X-Google-Attributes: gid111240,public X-Google-Thread: 107e1d,fdc46188f27004ac,start X-Google-Attributes: gid107e1d,public X-Google-Thread: fa6f8,fdc46188f27004ac,start X-Google-Attributes: gidfa6f8,public X-Google-Thread: 107b38,fdc46188f27004ac,start X-Google-Attributes: gid107b38,public X-Google-Thread: 103376,fdc46188f27004ac,start X-Google-Attributes: gid103376,public X-Google-Thread: 112fc4,fdc46188f27004ac,start X-Google-Attributes: gid112fc4,public X-Google-Thread: fe2cf,fdc46188f27004ac,start X-Google-Attributes: gidfe2cf,public X-Google-ArrivalTime: 2004-01-22 11:07:27 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!pd7cy1no!shaw.ca!pd7tw2no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 24.84.174.87 From: "Thierry S." Newsgroups: comp.lang.ada,comp.local.linux.redhat,comp.local.linux.redhat.alpha,comp.os.linux.redhat,fr.comp.lang.ada,linux.redhat,linux.redhat.install,linux.redhat.misc Subject: POSIX Issue: To_Posix_String() generates incorrect data X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Thu, 22 Jan 2004 19:07:26 GMT NNTP-Posting-Host: 24.69.255.232 X-Complaints-To: abuse@shaw.ca X-Trace: pd7tw2no 1074798446 24.69.255.232 (Thu, 22 Jan 2004 12:07:26 MST) NNTP-Posting-Date: Thu, 22 Jan 2004 12:07:26 MST Organization: Shaw Residential Internet Xref: archiver1.google.com comp.lang.ada:4671 comp.os.linux.redhat:4059 fr.comp.lang.ada:3428 linux.redhat:5406 linux.redhat.install:2330 linux.redhat.misc:35223 Date: 2004-01-22T19:07:26+00:00 List-Id: Hi, I am running RH9 (2.4.20-8), with GNAT 3.15p and Florist (compatible version downloaded from ACT-Europe/Libre) and I am having all sorts of problems with the POSIX library. Would anybody have any idea of what is wrong? I must have setup it up incorrectly, but the INSTALL and README files are very sparse of information when it comes to solving issues. I am using a small little program and I implemented the following test: ... My_String : consatnt string := "/home/tschn/file"; The_Posix_String : constant Posix.Posix_String := Posix.To_Posix_String (My_String); To_Posix_And_Back_String : constant string := Posix.To_String(The_Posix_String); ... and To_Posix_And_Back_String is not equal to My_String (it is all wrong)!!!! I then implemented the 2 routines myself, and it was very easy and working. So how come the Florist library gets it wrong? For sure, I cannot use my version of the routines as the Posix instances are called all over my application, and I don't want to modify it. On top of that, I am sure that if I wold do this replacement, my trouble would not be over, and the Posix interface would not work properly anyways. Again, the issue of function To_Posix_String() is only an illustration of my problems, the source of them must be somewhere else, like of the ./configure which may not deal with my version of Linux RH9 well. Thank you for your help. Thierry