Open GoogleCodeExporter opened 9 years ago
Another difference:
diff -p -r coredumper-1.2.1/src/linux_syscall_support_unittest.cc
google-coredumper-read-only/src/linux_syscall_support_unittest.cc
*** coredumper-1.2.1/src/linux_syscall_support_unittest.cc 2008-03-29
06:38:57.000000000 +0800
---
google-coredumper-read-only/src/linux_syscall_support_unittest.cc 2012-08-29
14:45:36.889474958 +0800
*************** namespace linux_syscall_support {
*** 62,68 ****
#include <asm/posix_types.h>
#include <asm/types.h>
#include <errno.h>
- #include <linux/dirent.h>
#include <linux/types.h>
#include <linux/unistd.h>
#include <signal.h>
--- 62,67 ----
*************** static void CheckStructures() {
*** 91,98 ****
// there are a small number of data structures (e.g "struct
// kernel_old_sigaction") that we cannot test at all, as glibc does
// not have any definitions for them.
- CHECK(sizeof(struct dirent64) == sizeof(struct kernel_dirent64));
- CHECK(sizeof(struct dirent) == sizeof(struct kernel_dirent));
CHECK(sizeof(struct iovec) == sizeof(struct kernel_iovec));
CHECK(sizeof(struct msghdr) == sizeof(struct kernel_msghdr));
CHECK(sizeof(struct pollfd) == sizeof(struct kernel_pollfd));
--- 90,95 ----
diff -p -r coredumper-1.2.1/src/linuxthreads.c
google-coredumper-read-only/src/linuxthreads.c
*** coredumper-1.2.1/src/linuxthreads.c 2008-03-29 06:38:57.000000000 +0800
--- google-coredumper-read-only/src/linuxthreads.c 2012-08-29
14:45:36.893469332 +0800
*************** extern "C" {
*** 49,55 ****
#include <asm/fcntl.h>
#include <asm/posix_types.h>
#include <asm/types.h>
- #include <linux/dirent.h>
#include "linux_syscall_support.h"
#include "thread_lister.h"
--- 49,54 ----
Original comment by rainco...@gmail.com
on 29 Aug 2012 at 6:50
Original issue reported on code.google.com by
m...@j.maxb.eu
on 1 Oct 2008 at 2:19