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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8dea6f46dfb95f66 X-Google-Attributes: gid103376,public From: guerby@gnat.com (Laurent Guerby) Subject: Re: Environment variables Date: 1996/11/01 Message-ID: #1/1 X-Deja-AN: 193808516 sender: guerby@schonberg.cs.nyu.edu references: <55819q$mql@newslink.runet.edu> organization: New York University reply-to: guerby@gnat.com newsgroups: comp.lang.ada Date: 1996-11-01T00:00:00+00:00 List-Id: Laurent> There's also Ada.Command_Line.Environment. Stephen> This package is in gnat, but it does not seem to be in the Stephen> RM, at least, not in the index or appendix A. Is it Ada 95 Stephen> standard, or a gnat extension? The source doesn't say either; Stephen> do the sources of gnat extensions indicate that they are Stephen> extensions? It's a GNAT extension. Note that, technically speaking, it's legal for an implementation to provide a completly different Ada.Command_Line than the one listed in the RM, as per RM-A.15(21): RM> Implementation Permissions RM> RM> 21 An alternative declaration is allowed for package Command_Line if RM> different functionality is appropriate for the external execution RM> environment. You can tell if one source is coming from the standard or from GNAT by looking at the header, the GNAT stuff is GPL'ed (plus extra permission) and the RM stuff headers look like: ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- A D A . C O M M A N D _ L I N E -- -- -- -- S p e c -- -- -- -- $Revision: 1.8 $ -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ -- Laurent Guerby , Team Ada. "Use the Source, Luke. The Source will be with you, always (GPL)."