[PATCH 1/3] database: Add notmuch_database_compact_close

Tomi Ollila tomi.ollila at iki.fi
Sun Oct 20 10:02:05 PDT 2013


On Thu, Oct 10 2013, Tomi Ollila <tomi.ollila at iki.fi> wrote:

>
> another, small change:
>
>       case "${xapian_version}" in
> -         0.*|1.[01].*|1.2.[0-5])
> +         0.*|1.[01].*|1.2.[0-5]|1.2.[0-5][^0-9]*)
>               printf "No (only available with Xapian > 1.2.6).\n" ;;

Forget the above suggestion, as mentioned below this would not work in
dash. I presume attempting to compile compaction support will fail in 
case such support is not there. If we ever encounter such a bug report
let's revisit this then...

> someone might do version like 1.2.4-abc but probably not 1.2.04 (nor 1.2a.4)
>
> (side note: case $x in [^...]) works with bash (and ksh&zsh, but not with dash)

Tomi


More information about the notmuch mailing list