projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59ecbd0
)
mlib-utl.adb (Ar): Use Output.Buffer_Max to determine whether a command line switch...
author
Thomas Quinot
<quinot@adacore.com>
Fri, 9 Dec 2005 17:20:28 +0000
(18:20 +0100)
committer
Arnaud Charlet
<charlet@gcc.gnu.org>
Fri, 9 Dec 2005 17:20:28 +0000
(18:20 +0100)
2005-12-05 Thomas Quinot <quinot@adacore.com>
* mlib-utl.adb (Ar): Use Output.Buffer_Max to determine whether a
command line switch overruns the output buffer.
From-SVN: r108298
gcc/ada/mlib-utl.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/mlib-utl.adb
b/gcc/ada/mlib-utl.adb
index f6512b494bfdd97b15b60e5e630b001c49ec3947..91c6b9c3e03b8365fa5338ecb47c22fb7c3b4526 100644
(file)
--- a/
gcc/ada/mlib-utl.adb
+++ b/
gcc/ada/mlib-utl.adb
@@
-85,9
+85,7
@@
package body MLib.Utl is
-- Make sure the Output buffer does not overflow
- if Line_Length + 1 + Arguments (J)'Length >
- Integer (Opt.Max_Line_Length)
- then
+ if Line_Length + 1 + Arguments (J)'Length > Buffer_Max then
Write_Eol;
Line_Length := 0;
end if;