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 --- glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h.orig 2008-06-19 15:31:45.000000000 +0300
2 +++ glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2008-06-19 15:36:10.000000000 +0300
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. */