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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f954bcd9ffa6c26c,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-16 03:52:18 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!enst!enst.fr!not-for-mail From: Christoph Grein Newsgroups: comp.lang.ada Subject: Gnat 3.13p: Command_Name RM A.15 Date: Tue, 16 Jan 2001 07:12:50 +0100 (MET) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: <200101160612.HAA06787@bulgaria.otn.eurocopter.de> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: avanie.enst.fr 979645885 53264 137.194.161.2 (16 Jan 2001 11:51:25 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 16 Jan 2001 11:51:25 +0000 (UTC) To: report@gnat.com, comp.lang.ada@ada.eu.org Return-Path: Content-MD5: Ns41WSVjS/NlQ51FPdflsA== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: comp.lang.ada mail<->news gateway Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:4050 Date: 2001-01-16T07:12:50+01:00 On win98 with Gnat3.13p, Ada.Command_Line.Command_Name always returns the full path, irrespective of the actual command line (executable only, relative or absolute path), whereas on winNT, only the string as entered on the command line is returned. This different behaviour is annoying when trying to write portable code and you need the full path (including drive). There are several Win32 flavours out there... I know A.15 leaves this completely implementation defined, there is not even an Implementation Advice as to how the string should look. But A.8.2(22) requires that Name return the full path (OK, it says "should"). So why is there the difference in the RM?