Mercurial > hg > xemacs-beta
view lib-src/installexe.sh @ 4421:69b803c646cd
Fail searches immediately if searching for non-representable characters.
2008-02-11 Aidan Kehoe <kehoea@parhasard.net>
* search.c (search_buffer):
In the event that a character is not representable in the buffer,
fail immediately. Prevents an assertion failure in the code to
deal with whether Boyer-Moore search can be used for such
characters.
2008-02-11 Aidan Kehoe <kehoea@parhasard.net>
* automated/case-tests.el (Assert):
New test case; thank you Michael Sperber.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 11 Feb 2008 22:34:51 +0100 |
parents | 3ee1c468b215 |
children | 8a653fbe5c27 |
line wrap: on
line source
#!bash install_prog=$1 shift tstr="" while [[ $# -gt 0 ]] do if [[ -f $1.exe ]] then if [[ "$2" == *.exe ]] then tstr="$tstr$1 $2" else tstr="$tstr$1.exe $2.exe" fi shift 2 else tstr="$tstr$1 " fi shift done echo "$install_prog $tstr" eval "$install_prog $tstr" exit