Ver Fonte

make sure the stat64 struct is packed to prevent further ABI headaches as done in mainline 2.6

Mike Frysinger há 20 anos atrás
pai
commit
2edb83b593
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      libc/sysdeps/linux/arm/bits/kernel_stat.h

+ 1 - 1
libc/sysdeps/linux/arm/bits/kernel_stat.h

@@ -82,6 +82,6 @@ struct kernel_stat64 {
 	unsigned long      st_ctime;
 	unsigned long      st_ctime_nsec;
 	unsigned long long st_ino;
-};
+} __attribute__((packed));
 
 #endif	/*  _BITS_STAT_STRUCT_H */