]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Don't use // for comments, for compatibility with older compilers.
authorTim Kientzle <kientzle@gmail.com>
Sun, 13 Nov 2011 01:56:54 +0000 (20:56 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 13 Nov 2011 01:56:54 +0000 (20:56 -0500)
SVN-Revision: 3771

libarchive/archive_read_support_filter_uu.c

index bcb7755de388d567b8aaa15ff68501e459077e2d..a75ef756081b175dedc2dda803f5f1319af92ae6 100644 (file)
@@ -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);
        }