Explorar el Código

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

Mike Frysinger hace 20 años
padre
commit
2edb83b593
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 */