svn commit: trunk/busybox/archival
vda at busybox.net
vda at busybox.net
Mon Nov 5 18:16:02 PST 2007
Author: vda
Date: 2007-11-05 18:16:01 -0800 (Mon, 05 Nov 2007)
New Revision: 20372
Log:
unzip: hmm... gcc doesn't like ATTRIBUTE_PACKED?? Document that...
Modified:
trunk/busybox/archival/unzip.c
Changeset:
Modified: trunk/busybox/archival/unzip.c
===================================================================
--- trunk/busybox/archival/unzip.c 2007-11-06 02:02:45 UTC (rev 20371)
+++ trunk/busybox/archival/unzip.c 2007-11-06 02:16:01 UTC (rev 20372)
@@ -57,7 +57,7 @@
uint16_t filename_len; /* 22-23 */
uint16_t extra_len; /* 24-25 */
} formatted ATTRIBUTE_PACKED;
-} zip_header_t ATTRIBUTE_PACKED;
+} zip_header_t; /* ATTRIBUTE_PACKED - gcc 4.2.1 doesn't like it (spews warning) */
/* Check the offset of the last element, not the length. This leniency
* allows for poor packing, whereby the overall struct may be too long,
More information about the busybox-cvs
mailing list