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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a42a9e2a65b6a5c7 X-Google-Attributes: gid103376,public From: "Jeffrey D. Cherry" Subject: Re: Temporary files in Ada95. Date: 1999/03/31 Message-ID: <37029918.F637F494@utech.net>#1/1 X-Deja-AN: 461318060 Content-Transfer-Encoding: 7bit References: <36FFD831.AF11BA9C@utech.net> <7dfrv7$gvv$1@nnrp1.dejanews.com> <7de1t6$usl$1@nnrp1.dejanews.com> <36FBB978.D44CF370@utech.net> <1999Mar26.164208.1@eisner> <37026630.D6B9207C@utech.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 922917445 201 (none) 206.61.179.116 Organization: Logicon Geodynamics MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-03-31T00:00:00+00:00 List-Id: >> I don't think you want to ask "Is there a way to make ada not write >> temporary files to the root directory?" since it's not really a language >> issue. I view it as an implementation issue. > The Form parameter is usually used for this kind of thing. Although, if memory serves, this is correct for VMS, in general I would have to say that I haven't found that to be true. I've found the Form parameter to be used for specialized file access, security requests, and the like. Not to force the file to be temporary. If you could, please provide some examples of compiler/OS pairings that create temporary files using the Form parameter. I would appreciate it since that's why I read CLA ... to learn new things. Thanks in advance. :) >> I would have thought that GNAT would create the temporary file in a >> directory where the user has write access. > Is there a Form parameter for GNAT, to specify where the temporary file > gets declared? I'd have to check the GNAT documentation and the GCC documentation but I believe the only Form parameter accepted under any of the Windows systems is "shared=yes" or "shared=no", or, of course, a null string.