Commit 6677e9d9 by Thomas Quinot Committed by Arnaud Charlet

mlib-utl.adb (Ar): Use Output.Buffer_Max to determine whether a command line switch overruns the...

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
parent 59ecbd0b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment