zsh-workers
 help / color / mirror / code / Atom feed
* Re: Unitialized memory reads again.
@ 2000-06-15  9:29 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-06-15  9:29 UTC (permalink / raw)
  To: zsh-workers


Felix Rosencrantz wrote:

> Sorry to report that I started seeing new uninitialized memory reads
> during completion.  Now at different location.
>         match_str      [compmatch.c:806]
>         match_str      [compmatch.c:598]
>         match_str      [compmatch.c:598]
>         addmatches     [compcore.c:1801]
>         bin_compadd    [complete.c:606]
>         ---------------------------------
>         match_str      [compmatch.c:806]
>         match_str      [compmatch.c:598]
>         addmatches     [compcore.c:1801]
>         bin_compadd    [complete.c:606]
> 
> Though these seem to be more difficult to trip over.

Before using the patch below, could you try if `setopt __listbeep__<TAB>'
shows the bad behaviour (probably adding more `_'s to the end)? If it
does, the patch below should fix it (of course, with uninitialized
memory reads it could be that this is the problem but it doesn't show
up, sigh).

> The recent changes to the trap code have fixed the memory leaks
> reported in 11766, and no new errors.

Good. I was about to ask.

> Sven, thanks for the stat optimizations to _path_files.  It seems faster.
> Plus, file completion works nicely with Clearcase now.  (Though... the
> additional change you were suggesting in workers/9631 for a "style that
> gives a pattern to match pathname components that should be accepted
> immediately" would make it work even better... :) )

I had forgotten about that... we'll see.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Unitialized memory reads again.
@ 2000-06-15  4:41 Felix Rosencrantz
  0 siblings, 0 replies; 2+ messages in thread
From: Felix Rosencrantz @ 2000-06-15  4:41 UTC (permalink / raw)
  To: zsh-workers

Sorry to report that I started seeing new uninitialized memory reads
during completion.  Now at different location.
        match_str      [compmatch.c:806]
        match_str      [compmatch.c:598]
        match_str      [compmatch.c:598]
        addmatches     [compcore.c:1801]
        bin_compadd    [complete.c:606]
        ---------------------------------
        match_str      [compmatch.c:806]
        match_str      [compmatch.c:598]
        addmatches     [compcore.c:1801]
        bin_compadd    [complete.c:606]

Though these seem to be more difficult to trip over.

The recent changes to the trap code have fixed the memory leaks
reported in 11766, and no new errors.

Sven, thanks for the stat optimizations to _path_files.  It seems faster.
Plus, file completion works nicely with Clearcase now.  (Though... the
additional change you were suggesting in workers/9631 for a "style that
gives a pattern to match pathname components that should be accepted
immediately" would make it work even better... :) )

-FR.

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-15  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15  9:29 Unitialized memory reads again Sven Wischnowsky
  -- strict thread matches above, loose matches on Subject: below --
2000-06-15  4:41 Felix Rosencrantz

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).