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 --- libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2006/10/29 21:48:06 1.6
2 +++ libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2007/03/13 21:28:03 1.7
4 bne a3, SYSCALL_ERROR_LABEL; \
8 __LABEL($pseudo_cancel) \
10 cfi_def_cfa_offset(64); \
12 cfi_def_cfa_offset(0); \
13 __LABEL($syscall_error) \
14 SYSCALL_ERROR_HANDLER; \
19 # define PSEUDO_END(sym) \
25 # define SAVE_ARGS_0 /* Nothing. */