diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-01-03 16:41:53 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-01-03 16:41:53 +0100 |
commit | b558cbe01bfc2ace6f0ca6a38637c5bc02d4ff00 (patch) | |
tree | 3ea54f29557819016581a63886b83bff5273e27f /gcc/ada | |
parent | da709d08b9dccb7c89a7f041267447c1fd896615 (diff) | |
download | gcc-b558cbe01bfc2ace6f0ca6a38637c5bc02d4ff00.zip gcc-b558cbe01bfc2ace6f0ca6a38637c5bc02d4ff00.tar.gz gcc-b558cbe01bfc2ace6f0ca6a38637c5bc02d4ff00.tar.bz2 |
s-fileio.adb (Temp_File_Record): Change length of string component Name from L_tmpnam + 1 to max_path_len + 1.
* s-fileio.adb (Temp_File_Record): Change length of string component
Name from L_tmpnam + 1 to max_path_len + 1.
From-SVN: r92850
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/s-fileio.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/s-fileio.adb b/gcc/ada/s-fileio.adb index 006cf93..764d4ef 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 |