# HG changeset patch # User jwe # Date 1194976972 0 # Node ID 9bc096bc59d40dd714f8818bff12d3bed6885a44 # Parent 9f38c6293317b40b46a15a99470f3f2b2d77da1d [project @ 2007-11-13 18:02:51 by jwe] diff -r 9f38c6293317 -r 9bc096bc59d4 ChangeLog --- a/ChangeLog Tue Nov 13 17:34:33 2007 +0000 +++ b/ChangeLog Tue Nov 13 18:02:52 2007 +0000 @@ -1,3 +1,8 @@ +2007-11-13 Joseph P. Skudlarek + + * octave-bug.in: Try mailx, then Mail, then /usr/ucb/mail, then + /bin/mail. + 2007-11-13 John W. Eaton * configure.in: Only define HAVE_PCRE_H if has the diff -r 9f38c6293317 -r 9bc096bc59d4 octave-bug.in --- a/octave-bug.in Tue Nov 13 17:34:33 2007 +0000 +++ b/octave-bug.in Tue Nov 13 18:02:52 2007 +0000 @@ -350,24 +350,29 @@ # Now try to mail it. - ( /bin/mail $BUGADDR < $TEMP.x ) > /dev/null 2>&1 - status=$? + # indicate that we have not yet sent email successfully + status=11 + if test $status -ne 0; then - ( Mail -s "$SUBJECT" $BUGADDR < $TEMP.x ) > /dev/null 2>&1 + ( mailx -s "$SUBJECT" $BUGADDR < $TEMP.x ) > /dev/null 2>&1 status=$? if test $status -ne 0; then - ( /usr/ucb/mail -s "$SUBJECT" $BUGADDR < $TEMP.x ) > /dev/null 2>&1 - status=$? - if test $status -ne 0; then - ( mailx -s "$SUBJECT" $BUGADDR < $TEMP.x ) > /dev/null 2>&1 - status=$? - fi + ( Mail -s "$SUBJECT" $BUGADDR < $TEMP.x ) > /dev/null 2>&1 + status=$? + if test $status -ne 0; then + ( /usr/ucb/mail -s "$SUBJECT" $BUGADDR < $TEMP.x ) > /dev/null 2>&1 + status=$? + # make /bin/mail our last resort -- it ignores the subject line + if test $status -ne 0; then + ( /bin/mail $BUGADDR < $TEMP.x ) > /dev/null 2>&1 + status=$? + if test $status -ne 0; then + echo "unable to send mail..." + fi + fi + fi fi fi - - if test $status -ne 0; then - echo "unable to send mail..." - fi fi fi diff -r 9f38c6293317 -r 9bc096bc59d4 src/ChangeLog --- a/src/ChangeLog Tue Nov 13 17:34:33 2007 +0000 +++ b/src/ChangeLog Tue Nov 13 18:02:52 2007 +0000 @@ -1,3 +1,7 @@ +2007-11-13 Joseph P. Skudlarek + + * DLD-FUNCTIONS/rand.cc (Frand): Update URL reference in doc string. + 2007-11-12 David Bateman * graphics.h.in, graphics.cc (class text): Add the fontangle and diff -r 9f38c6293317 -r 9bc096bc59d4 src/DLD-FUNCTIONS/rand.cc --- a/src/DLD-FUNCTIONS/rand.cc Tue Nov 13 17:34:33 2007 +0000 +++ b/src/DLD-FUNCTIONS/rand.cc Tue Nov 13 18:02:52 2007 +0000 @@ -346,7 +346,7 @@ ``Mersenne Twister: A 623-dimensionally\n\ equidistributed uniform pseudorandom number generator'', ACM Trans. on\n\ Modeling and Computer Simulation Vol. 8, No. 1, January pp.3-30 1998,\n\ -@url{http://www.math.keio.ac.jp/~matumoto/emt.html}).\n\ +@url{http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html}).\n\ Do @strong{not} use for cryptography without securely hashing\n\ several returned values together, otherwise the generator state\n\ can be learned after reading 624 consecutive values.\n\