Indeed.
There is a function in fish to check if a pathname you're typing exists.
Obviously, it's running even when it should realize that doing so would take
far to much time. I'll try to add a timer to stop searching if it takes too
long to the next release.
Axel
2009/1/3 Atsushi ODAWARA <a.odaw...@gmail.com>
> I also tried.
> I'm using gnome-terminal on Ubuntu 8.10.
> When I was input as **, fish freezed it.
> Backtrace at this time.
>
> It did not freeze it when the number of files was little.
>
> However, it seems to freeze it in the place with the directory with a
>
> lot of numbers of files.
>
> For example, the Linux kernel source code is put.
>
> ~> gdb -p PID
>
> (gdb) bt
> #0 0x00007f6a9a911f5b in wcscmp () from /lib/libc.so.6
> #1 0x00000000004296c5 in al_push_check (l=0x7fffa3052ea0,
> new=0x2459f10) at wildcard.c:120
> #2 0x000000000042a650 in wildcard_expand_internal (wc=0x1c161d0,
> base_dir=0x24400a0, flags=67, out=0x7fffa3052ea0)
> at wildcard.c:953
> #3 0x000000000042a481 in wildcard_expand_internal (wc=0x1c161d0,
> base_dir=<value optimized out>, flags=67,
> out=0x7fffa3052ea0) at wildcard.c:1106
> #4 0x000000000042a481 in wildcard_expand_internal (wc=0x1c161d0,
> base_dir=<value optimized out>, flags=67,
> out=0x7fffa3052ea0) at wildcard.c:1106
> #5 0x000000000042a481 in wildcard_expand_internal (wc=0x1c161d0,
> base_dir=<value optimized out>, flags=67,
> out=0x7fffa3052ea0) at wildcard.c:1106
> #6 0x000000000042a481 in wildcard_expand_internal (wc=0x1c161d0,
> base_dir=<value optimized out>, flags=67,
> out=0x7fffa3052ea0) at wildcard.c:1106
> #7 0x000000000042a481 in wildcard_expand_internal (wc=0x1c161d0,
> base_dir=<value optimized out>, flags=3,
> out=0x7fffa3052ea0) at wildcard.c:1106
> #8 0x000000000042a84b in wildcard_expand (wc=0x1c161d0,
> base_dir=0x451a24, flags=3, out=0x7fffa3052ea0)
> at wildcard.c:1145
> #9 0x000000000041b0cf in expand_string (context=0x0, str=<value
> optimized out>, end_out=0x7fffa3052f10, flags=3)
> at expand.c:1742
> #10 0x000000000041b2ca in expand_one (context=0x1c17098,
> string=0x1c2d780, flags=3) at expand.c:1839
> #11 0x000000000041bcd2 in highlight_shell (buff=0x1bd50f0,
> color=0x1bddf50, pos=1, error=0x0) at highlight.c:638
> #12 0x0000000000425087 in reader_super_highlight_me_plenty
> (match_highlight_pos=0, error=0x63) at reader.c:2168
> #13 0x00000000004255cc in insert_str (str=0x7fffa30536a0) at reader.c:770
> #14 0x0000000000426e9f in reader_readline () at reader.c:790
> #15 0x000000000042836a in reader_read (fd=29210336, io=<value
> optimized out>) at reader.c:2289
> #16 0x000000000043c3be in main (argc=1, argv=0x7fffa30538d8) at fish.c:327
>
> 2009/1/3 Simone D. <sim...@gmail.com>:
> >
> > Il giorno 03/gen/09, alle ore 07:01,
> fish-users-requ...@lists.sourceforge.net
> > ha scritto:
> >
> >> Re: [Fish-users] wildcard ** makes fish shell freeze
> >
> > After the first * my fish freeze and cpu usage became really high, I'm
> > using fish 1.23.0 on mac Leopard
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Fish-users mailing list
> > Fish-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fish-users
> >
>
>
>
> --
> I'm not good at English.
> So if you find any mistakes,let me know!
>
> Atsushi Odawara
> a.odaw...@gmail.com
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users