From 064498349c61c515517e39a3667bcde8fab92a94 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 3 Aug 2001 19:41:52 +0000 Subject: [PATCH] This clears up a problem which occured when the buffer got to big in the verbosity box and memory started to get hogged. The buffer is now deleted when ran through the check. --- BootRoot/Yard.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index 99ee692..a1f47c4 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -3,7 +3,7 @@ ## Yard.pm combining ## MAKE_ROOT_FS, CHECK_ROOT_FS, and YARD_UTILS.PL by Tom Fawcett ## Copyright (C) 1996,1997,1998 Tom Fawcett (fawcett@croftj.net) -## Copyright (C) 2000 Modifications by the gBootRoot Team +## Copyright (C) 2000,2001 Modifications by the gBootRoot Team ## ## This program is free software; you may redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -136,6 +136,10 @@ sub read_contents_file { my ($contents_file) = @_; my $error; + # It's a good idea to clear the text buffer in the verbosity box + $text_insert->backward_delete($text_insert->get_length()); + + info(0, "\n\nPASS 1: Reading $contents_file"); info(0, "\n");