From: Tim Kientzle Date: Sun, 13 Nov 2011 01:56:54 +0000 (-0500) Subject: Don't use // for comments, for compatibility with older compilers. X-Git-Tag: v3.0.0a~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09d4556e297345dc31665463c73b28cdecff22d;p=thirdparty%2Flibarchive.git Don't use // for comments, for compatibility with older compilers. SVN-Revision: 3771 --- diff --git a/libarchive/archive_read_support_filter_uu.c b/libarchive/archive_read_support_filter_uu.c index bcb7755de..a75ef7560 100644 --- a/libarchive/archive_read_support_filter_uu.c +++ b/libarchive/archive_read_support_filter_uu.c @@ -40,8 +40,8 @@ __FBSDID("$FreeBSD$"); #include "archive_private.h" #include "archive_read_private.h" -// Maximum lookahead during bid phase -#define UUENCODE_BID_MAX_READ 128*1024 // in bytes +/* Maximum lookahead during bid phase */ +#define UUENCODE_BID_MAX_READ 128*1024 /* in bytes */ struct uudecode { int64_t total; @@ -298,7 +298,7 @@ uudecode_bidder_bid(struct archive_read_filter_bidder *self, break; firstline = 0; - // Do not read more than UUENCODE_BID_MAX_READ bytes + /* Do not read more than UUENCODE_BID_MAX_READ bytes */ if (nbytes_read >= UUENCODE_BID_MAX_READ) return (0); }