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 --- dmalloc-5.5.2.orig/configure 2008-06-17 13:10:09.000000000 +0200
2 +++ dmalloc-5.5.2/configure 2008-06-17 13:11:25.000000000 +0200
4 echo "$as_me:$LINENO: checking strdup macro" >&5
5 echo $ECHO_N "checking strdup macro... $ECHO_C" >&6
6 if test "$cross_compiling" = yes; then
7 - ac_cv_strdup_macro=no
8 + cat >conftest.$ac_ext <<_ACEOF
11 +cat confdefs.h >>conftest.$ac_ext
12 +cat >>conftest.$ac_ext <<_ACEOF
13 +/* end confdefs.h. */
26 +rm -f conftest.o conftest.obj
27 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28 + (eval $ac_compile) 2>&5
30 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31 + (exit $ac_status); }; then
32 + ac_cv_strdup_macro=yes
34 + ac_cv_strdup_macro=no
38 cat >conftest.$ac_ext <<_ACEOF