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_write_set_format_pax.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_write_set_format_pax.c')
-rw-r--r-- | libarchive/archive_write_set_format_pax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/archive_write_set_format_pax.c b/libarchive/archive_write_set_format_pax.c index 8f5a6f0f..e2d1a239 100644 --- a/libarchive/archive_write_set_format_pax.c +++ b/libarchive/archive_write_set_format_pax.c @@ -524,7 +524,7 @@ archive_write_pax_header(struct archive_write *a, name_length = strlen(oname); name = malloc(name_length + 3); if (name == NULL) { - // XXX error message + /* XXX error message */ return (ARCHIVE_FAILED); } strcpy(name, oname); @@ -556,7 +556,7 @@ archive_write_pax_header(struct archive_write *a, archive_entry_set_uid(extra, archive_entry_uid(entry_original)); archive_entry_set_uname(extra, archive_entry_uname(entry_original)); - // Recurse to write the special copyfile entry. + /* Recurse to write the special copyfile entry. */ r = archive_write_pax_header(a, extra); if (r < ARCHIVE_WARN) return (r); |