Răsfoiți Sursa

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

Mike Frysinger 20 ani în urmă
părinte
comite
2edb83b593
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 */