From 3087be945d84031d7d6a9cd45bd90d5767d1b7cc Mon Sep 17 00:00:00 2001 From: Clint Smullen Date: Sat, 15 Nov 2008 23:42:11 -0500 Subject: Output: Include gzstream package to allow automatically-gzipped output The gzstream package provides an ostream-interface for writing gzipped files. The package comes from: http://www.cs.unc.edu/Research/compgeom/gzstream/ And is distributed under the LGPL license. Both the license and version information has been preservered, though all other files in the package have been purged. Minor modifications to the code have been made. The output module detects when a filename ends in .gz and constructs an ogzstream object instead of an ofstream object. This works for both the create(...) and find(...) commands. Additionally, since gzstream objects needs to be closed to ensure proper file termination, I have the output deconstructor deleting all ostream's that it manages on behalf of find(...). At the moment, the only output file that I know this functionality works for is stats, i.e. by specifying "--stats-file=m5stats.txt.gz" on the command line. --- ext/gzstream/VERSION | 1 + 1 file changed, 1 insertion(+) create mode 100644 ext/gzstream/VERSION (limited to 'ext/gzstream/VERSION') diff --git a/ext/gzstream/VERSION b/ext/gzstream/VERSION new file mode 100644 index 000000000..511137de1 --- /dev/null +++ b/ext/gzstream/VERSION @@ -0,0 +1 @@ +1.5 (08 Jan 2003) -- cgit v1.2.3