scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
Call to get the directory mode depending on $CT_SYS_OS
yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.
1 2007-03-13 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Copy Linux's asm-sh/elf.h types.
5 --- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h
6 +++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h
9 #include <sys/ucontext.h>
16 + * ELF register definitions...
18 +typedef unsigned long elf_greg_t;
20 +#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
21 +typedef elf_greg_t elf_gregset_t[ELF_NGREG];
23 +typedef struct user_fpu_struct elf_fpregset_t;
27 int si_signo; /* Signal number. */