summaryrefslogtreecommitdiff
path: root/gcc/ada/s-fileio.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-03 15:41:53 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-03 15:41:53 +0000
commita5342ce68dd70eff04503899cb28be77fc6e0ca0 (patch)
tree3ea54f29557819016581a63886b83bff5273e27f /gcc/ada/s-fileio.adb
parentdbd6061a5dbd835c3113512f6b5da8709101c460 (diff)
downloadgcc-a5342ce68dd70eff04503899cb28be77fc6e0ca0.tar.gz
* s-fileio.adb (Temp_File_Record): Change length of string component
Name from L_tmpnam + 1 to max_path_len + 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-fileio.adb')
-rw-r--r--gcc/ada/s-fileio.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/s-fileio.adb b/gcc/ada/s-fileio.adb
index 006cf933716..764d4eff01c 100644
--- a/gcc/ada/s-fileio.adb
+++ b/gcc/ada/s-fileio.adb
@@ -60,7 +60,7 @@ package body System.File_IO is
type Temp_File_Record_Ptr is access all Temp_File_Record;
type Temp_File_Record is record
- Name : String (1 .. L_tmpnam + 1);
+ Name : String (1 .. max_path_len + 1);
Next : Temp_File_Record_Ptr;
end record;
-- One of these is allocated for each temporary file created