summaryrefslogtreecommitdiff
path: root/libarchive/archive_write_add_filter_bzip2.c
diff options
context:
space:
mode:
authorBjörn Jacke <bjacke@gmail.com>2011-02-17 21:08:33 -0500
committerBjörn Jacke <bjacke@gmail.com>2011-02-17 21:08:33 -0500
commit2bab6e4e20b074d4d98c312819861bb5944212e3 (patch)
treee76d50fa6d3c04683e58d27f595ba0ec25ea7bec /libarchive/archive_write_add_filter_bzip2.c
parent0d621852cf4a614f986e151d67b39efcf09ae37f (diff)
downloadlibarchive-2bab6e4e20b074d4d98c312819861bb5944212e3.tar.gz
DO NOT USE C++ style comments like // in C code !
Not all C compilers are happy with them, lxc on AIX for example. There are much more of them in the testing code but the ones fixed with this commit make at least the most important things compile. SVN-Revision: 2986
Diffstat (limited to 'libarchive/archive_write_add_filter_bzip2.c')
-rw-r--r--libarchive/archive_write_add_filter_bzip2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/archive_write_add_filter_bzip2.c b/libarchive/archive_write_add_filter_bzip2.c
index 8b83a431..e0d07a9f 100644
--- a/libarchive/archive_write_add_filter_bzip2.c
+++ b/libarchive/archive_write_add_filter_bzip2.c
@@ -133,8 +133,8 @@ archive_compressor_bzip2_open(struct archive_write_filter *f)
if (ret != 0)
return (ret);
- // TODO: Find a better way to size this. (Maybe look at the
- // block size expected by the following filter?)
+ /* TODO: Find a better way to size this. (Maybe look at the */
+ /* block size expected by the following filter?) */
if (data->compressed == NULL) {
data->compressed_buffer_size = 65536;
data->compressed