Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.0.1-pre-1 on RH6.2
- X-seq: zsh-workers 13505
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: 4.0.1-pre-1 on RH6.2
- Date: Mon, 19 Feb 2001 11:25:34 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Sun, 18 Feb 2001 01:21:48 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On Feb 17, 12:51am, Peter Stephenson wrote:
> } Subject: Re: 4.0.1-pre-1 on RH6.2
> }
> } "Bart Schaefer" wrote:
> } >
> } > zftp.c: In function `zfgetline':
> } > zftp.c:730: warning: variable `added' might be clobbered by `longjmp'
> }
> } These have always been there and I've never been able to understand what
> } it's talking about with those particular variables.
>
> Ah, I see. It's warning you which variables have been given register
> storage allocation by the compiler, and which therefore won't be unwound
> properly when longjmp() takes you back up the stack to the setjmp() spot.
> As long as none of those are referenced in the `if (setjmp(...)) { ... }'
> blocks (which appears to be true), everything should be OK.
Yes, I had a look at that, too , when I first saw it. We can get rid
of the warnings by sticking `volatile' before the declarations if we care.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author