public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/21346] New: Ada.Directories.Compose raises exception if Containing_Directory is empty string
@ 2005-05-02 21:36 martin dot dowie at btopenworld dot com
  0 siblings, 0 replies; only message in thread
From: martin dot dowie at btopenworld dot com @ 2005-05-02 21:36 UTC (permalink / raw)
  To: gcc-bugs

Making a call to subprogram Ada.Directories.Compose with an empty string (the
default value) for the parameter "Containing_Directory" leads to a Name_Error
exception being raised.

-- Test Program
with Ada.Directories;
with Ada.Text_IO;

procedure Test_Compose is
   Result : String := Ada.Directories.Compose (Name      => "foo",
                                               Extension => "txt");
begin
   Ada.Text_IO.Put_Line (Result);
end Test_Compose;

-- 
           Summary: Ada.Directories.Compose raises exception if
                    Containing_Directory is empty string
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin dot dowie at btopenworld dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21346


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-02 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02 21:36 [Bug ada/21346] New: Ada.Directories.Compose raises exception if Containing_Directory is empty string martin dot dowie at btopenworld dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).