Add an option to forbid downloads.
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me.
/trunk/scripts/functions | 6 6 0 0 ++++++
/trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++
2 files changed, 24 insertions(+)
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. */