zsh-workers
 help / color / mirror / code / Atom feed
* glob [a-z]## bug in beta18
@ 1996-05-22 16:44 Roderick Schertler
  1996-05-22 17:32 ` Zoltan Hidvegi
  0 siblings, 1 reply; 4+ messages in thread
From: Roderick Schertler @ 1996-05-22 16:44 UTC (permalink / raw)
  To: zsh-workers

I've been on an old version of zsh (beta7) for a long time, I don't
know when this bug came up.  Here's what I'm seeing:

  j:1% ls
  bug.1  ok
  j:1% print -l 'setopt extended_glob' 'print -c [a-z]#' | zsh-2.6-beta7 -f
  ok
  j:1% print -l 'setopt extended_glob' 'print -c [a-z]#' | zsh-2.6-beta18 -f
  bug.1  ok
  j:1% _

I ended up with this while trying to track down another globbing
strangeness (I get no matches from

    autoload $_dir/[a-zA-Z_][a-zA-Z0-9_---.]#(-.:t)

), I don't know if it's somehow the same bug or not.

-- 
Roderick Schertler
roderick@gate.net



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

* Re: glob [a-z]## bug in beta18
  1996-05-22 16:44 glob [a-z]## bug in beta18 Roderick Schertler
@ 1996-05-22 17:32 ` Zoltan Hidvegi
  1996-05-23 14:47   ` Roderick Schertler
  0 siblings, 1 reply; 4+ messages in thread
From: Zoltan Hidvegi @ 1996-05-22 17:32 UTC (permalink / raw)
  To: Roderick Schertler; +Cc: zsh-workers

> I've been on an old version of zsh (beta7) for a long time, I don't
> know when this bug came up.  Here's what I'm seeing:
> 
>   j:1% ls
>   bug.1  ok
>   j:1% print -l 'setopt extended_glob' 'print -c [a-z]#' | zsh-2.6-beta7 -f
>   ok
>   j:1% print -l 'setopt extended_glob' 'print -c [a-z]#' | zsh-2.6-beta18 -f
>   bug.1  ok
>   j:1% _

I cannot reproduce this.  What OS and which C compiler do you use?

Zoltan



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

* Re: glob [a-z]## bug in beta18
  1996-05-22 17:32 ` Zoltan Hidvegi
@ 1996-05-23 14:47   ` Roderick Schertler
  0 siblings, 0 replies; 4+ messages in thread
From: Roderick Schertler @ 1996-05-23 14:47 UTC (permalink / raw)
  To: zsh-workers

On 22 May 1996 14:44:55 -0400, Zoltan Hidvegi <hzoli@cs.elte.hu> said:
> 
>> j:1% print -l 'setopt extended_glob' 'print -c [a-z]#' | zsh-2.6-beta18 -f
>> bug.1  ok
> 
> I cannot reproduce this.  What OS and which C compiler do you use?

I should have realized that this bug was too severe to be universal.
Sorry about that.  I saw that behavior on dgux 5.4.3.10 with gcc 2.5.8
(the standard system compiler).  When I recompiled with debugging rather
than optimization the problem disappeared, so by definition it must be a
bug in the compiler.

-- 
Roderick Schertler
roderick@gate.net



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

* Re: glob [a-z]## bug in beta18
@ 1996-05-23 15:34 ead
  0 siblings, 0 replies; 4+ messages in thread
From: ead @ 1996-05-23 15:34 UTC (permalink / raw)
  To: Roderick Schertler; +Cc: zsh-workers

Roderick,

Roderick Schertler <roderick@gate.net>:
] Zoltan Hidvegi <hzoli@cs.elte.hu>:
] >> j:1% print -l 'setopt extended_glob' 'print -c [a-z]#' | zsh-2.6-beta18 -f
] >> bug.1  ok
] > 
] > I cannot reproduce this.  What OS and which C compiler do you use?
] 
] I should have realized that this bug was too severe to be universal.
] Sorry about that.  I saw that behavior on dgux 5.4.3.10 with gcc 2.5.8
] (the standard system compiler).  When I recompiled with debugging rather
] than optimization the problem disappeared, so by definition it must be a
] bug in the compiler.

I cannot speak to the problem at hand, and have not looked at the zsh
code in question, but ceteris paribus, this line of reasoning is faulty.

When a "problem disappears", that does not mean that another one,
elsewhere, doesn't move to take it's place. Example: heap corruption due
to bad pointer management with optimization on, but valid memory getting
trashed with optimization off/debugging on.

Eric De Mund <ead@ixian.com>
http://www.ixian.com/ixian/ead/

"It's harder to solve people's problems than it is to design really neat
products." --Stewart Alsop



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

end of thread, other threads:[~1996-05-23 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-22 16:44 glob [a-z]## bug in beta18 Roderick Schertler
1996-05-22 17:32 ` Zoltan Hidvegi
1996-05-23 14:47   ` Roderick Schertler
1996-05-23 15:34 ead

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).