From: <cli...@li...> - 2009-10-06 12:04:02
|
Send clisp-cvs mailing list submissions to cli...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to cli...@li... You can reach the person managing the list at cli...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp/doc faq.xml,1.117,1.118 (Sam Steingold) 2. clisp/src ChangeLog,1.7146,1.7147 clisp-link.in,1.50,1.51 (Sam Steingold) ---------------------------------------------------------------------- Message: 1 Date: Mon, 05 Oct 2009 14:44:52 +0000 From: Sam Steingold <sd...@us...> Subject: clisp/doc faq.xml,1.117,1.118 To: cli...@li... Message-ID: <E1M...@dd...> Update of /cvsroot/clisp/clisp/doc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31226 Modified Files: faq.xml Log Message: add faq-debug-binary-search Index: faq.xml =================================================================== RCS file: /cvsroot/clisp/clisp/doc/faq.xml,v retrieving revision 1.117 retrieving revision 1.118 diff -u -d -r1.117 -r1.118 --- faq.xml 1 Oct 2009 19:53:07 -0000 1.117 +++ faq.xml 5 Oct 2009 14:44:50 -0000 1.118 @@ -298,6 +298,33 @@ examine the definitions in the generated <filename>lispbibl.h</filename>. See also bottom of <filename role="clisp-cvs">src/spvw_debug.d</filename>. </para></formalpara> + +<formalpara id="faq-debug-binary-search"><title>Binary Search in Time</title> +<para>When you encounter an <emphasis>regression error</emphasis> (i.e., +something worked in a previous version of &clisp;, but does not work in +the current version) which we cannot reproduce, we will often ask you to +figure out which specific &cvs; commit introduced it. +The way to figure that out is to use the <emphasis>binary search in +time</emphasis>, specifically:<orderedlist> +<listitem><simpara>Write a script <command>test-clisp</command>, which tests +for the bug given a path to the &clisp; executable.</simpara></listitem> +<listitem><simpara>Select dates <replaceable>good-date</replaceable> and +<replaceable>bad-date</replaceable> such that the bug is present at +<replaceable>bad-date</replaceable> (e.g., set it to the current date) and +¬-e; present at <replaceable>good-date</replaceable>.</simpara></listitem> +<listitem><para>Let date &m-r; be the midpoint between +<replaceable>good-date</replaceable> and <replaceable>bad-date</replaceable>. + Do:<screen>&sh-prompt; cvs co -D &m-r; clisp +&sh-prompt; cd clisp; ./configure --cbc build; cd ..; +&sh-prompt; if test-clisp ./clisp/build/clisp; then rm -rf good; mv clisp good; else rm -rf bad; mv clisp bad; fi</screen> +Is the <command>test-clisp</command> command succeeded, then set +<replaceable>good-date</replaceable> to &m-r;, otherwise set +<replaceable>bad-date</replaceable> to &m-r;.</para></listitem> +<listitem><para>Repeat the previous listitem until there is only one &cvs; +commit between <replaceable>bad-date</replaceable> and +<replaceable>good-date</replaceable>.</para></listitem></orderedlist> +See output of <command>&cvs; log</command> for the acceptable date +format for <command>&cvs; co -D</command>.</para></formalpara> </answer></qandaentry> </qandadiv> ------------------------------ Message: 2 Date: Mon, 05 Oct 2009 20:17:36 +0000 From: Sam Steingold <sd...@us...> Subject: clisp/src ChangeLog,1.7146,1.7147 clisp-link.in,1.50,1.51 To: cli...@li... Message-ID: <E1M...@dd...> Update of /cvsroot/clisp/clisp/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16442/src Modified Files: ChangeLog clisp-link.in Log Message: similar to the 2009-10-01 m4/clisp.m4 patch, redirect stderr of 'clisp --version' to /dev/null Index: clisp-link.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/clisp-link.in,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- clisp-link.in 21 Sep 2009 04:36:18 -0000 1.50 +++ clisp-link.in 5 Oct 2009 20:17:34 -0000 1.51 @@ -238,8 +238,8 @@ CLISP=`cd ${CLISP}; pwd`/clisp fi # cd src/m4/clisp.m4 -${CLISP} --version | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1 || \ - fail "${CLISP} is not GNU CLISP" +${CLISP} --version 2>/dev/null | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1 \ + || fail "${CLISP} is not GNU CLISP" CLISP_LIBDIR=`${CLISP} -b` # Where is the link kit? Index: ChangeLog =================================================================== RCS file: /cvsroot/clisp/clisp/src/ChangeLog,v retrieving revision 1.7146 retrieving revision 1.7147 diff -u -d -r1.7146 -r1.7147 --- ChangeLog 2 Oct 2009 10:55:13 -0000 1.7146 +++ ChangeLog 5 Oct 2009 20:17:32 -0000 1.7147 @@ -1,3 +1,8 @@ +2009-10-05 Sam Steingold <sd...@gn...> + + * clisp-link.in: similar to the 2009-10-01 m4/clisp.m4 patch, + redirect stderr of 'clisp --version' to /dev/null + 2009-10-02 Bruno Haible <br...@cl...> Use -DENABLE_UNICODE instead of -DUNICODE. ------------------------------ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ------------------------------ _______________________________________________ clisp-cvs mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest, Vol 42, Issue 5 **************************************** |