the mimedb bug that causes it to hang on certain XML files causes
serious problems with tab-completion with glade files (amongst
others).

Until a proper fix is released, this temporary patch can be used to
limit the mimedb RegEx recursion and make tab-completion usable again:

diff -rN old-fish/mimedb.c new-fish/mimedb.c
582,583c582,584
<       */
<       while( !regexec(start_re, start, 1, match, 0) )
---
> */
>       int recurse_limit = 1000;
>       while( !regexec(start_re, start, 1, match, 0) && --recurse_limit)


btw.  Fish is a great shell.  Thanks for releasing it :)

Stephen Stagg

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to