Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.
/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
1 --- glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S.orig 2006-10-22 22:17:01.000000000 +0200
2 +++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S 2006-10-22 22:18:05.000000000 +0200
4 libc_hidden_def (__sigsuspend)
5 weak_alias (__sigsuspend, sigsuspend)
6 strong_alias (__sigsuspend, __libc_sigsuspend)
8 +#ifndef NO_CANCELLATION
9 + .globl __sigsuspend_nocancel;
11 + .type __sigsuspend_nocancel, @function;
12 + .usepv __sigsuspend_nocancel, std;
14 +__LABEL(__sigsuspend_nocancel)
18 + lda v0, SYS_ify(sigsuspend);
19 + call_pal PAL_callsys;
20 + bne a3, SYSCALL_ERROR_LABEL;
23 + .size __sigsuspend_nocancel, .-__sigsuspend_nocancel