diff options
author | Björn Jacke <bjacke@gmail.com> | 2011-02-17 21:08:33 -0500 |
---|---|---|
committer | Björn Jacke <bjacke@gmail.com> | 2011-02-17 21:08:33 -0500 |
commit | 2bab6e4e20b074d4d98c312819861bb5944212e3 (patch) | |
tree | e76d50fa6d3c04683e58d27f595ba0ec25ea7bec /libarchive/archive_check_magic.c | |
parent | 0d621852cf4a614f986e151d67b39efcf09ae37f (diff) | |
download | libarchive-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_check_magic.c')
-rw-r--r-- | libarchive/archive_check_magic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/archive_check_magic.c b/libarchive/archive_check_magic.c index b486988f..e4ca8a51 100644 --- a/libarchive/archive_check_magic.c +++ b/libarchive/archive_check_magic.c @@ -139,11 +139,11 @@ __archive_check_magic(struct archive *a, unsigned int magic, write_all_states(states2, state)); a->state = ARCHIVE_STATE_FATAL; #if ARCHIVE_VERSION_NUMBER < 3000000 - // XXXX This should be identical to the old behavior. + /* XXXX This should be identical to the old behavior. */ errmsg(archive_error_string(a)); diediedie(); #else - // XXXX This is the proposed new behavior. + /* XXXX This is the proposed new behavior. */ return (ARCHIVE_FATAL); #endif } |