diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2016-01-11 05:52:18 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2016-01-11 05:52:18 -0500 |
commit | 7661f1c2bf2b45603264076fabce2eb42373cd18 (patch) | |
tree | cf26bc7090aa90db5ccd5342c1bbf902a839b0cf /ext/iostream3/TODO | |
parent | c965ca96cccb91632d11f43f24e7a2c5039206d2 (diff) | |
download | gem5-7661f1c2bf2b45603264076fabce2eb42373cd18.tar.xz |
ext: Replace gzstream with iostream3 from zlib to avoid LGPL
This patch replaces the gzstream zlib wrapper with the iostream3
wrapper provided as part of zlib contributions. The main reason for
the switch is to avoid including LGPL in the default gem5
build. iostream3 is provided under a more permissive license:
The code is provided "as is", with the permission to use, copy,
modify, distribute and sell it for any purpose without fee.
Diffstat (limited to 'ext/iostream3/TODO')
-rw-r--r-- | ext/iostream3/TODO | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/iostream3/TODO b/ext/iostream3/TODO new file mode 100644 index 000000000..7032f97be --- /dev/null +++ b/ext/iostream3/TODO @@ -0,0 +1,17 @@ +Possible upgrades to gzfilebuf: + +- The ability to do putback (e.g. putbackfail) + +- The ability to seek (zlib supports this, but could be slow/tricky) + +- Simultaneous read/write access (does it make sense?) + +- Support for ios_base::ate open mode + +- Locale support? + +- Check public interface to see which calls give problems + (due to dependence on library internals) + +- Override operator<<(ostream&, gzfilebuf*) to allow direct copying + of stream buffer to stream ( i.e. os << is.rdbuf(); ) |