zsh-workers
 help / color / mirror / code / Atom feed
* Re: 4.0.1-pre-1 on RH6.2
@ 2001-02-19 10:25 Sven Wischnowsky
  2001-02-19 10:37 ` Andrej Borsenkow
  0 siblings, 1 reply; 8+ messages in thread
From: Sven Wischnowsky @ 2001-02-19 10:25 UTC (permalink / raw)
  To: zsh-workers


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 8+ messages in thread
* 4.0.1-pre-1 on RH6.2
@ 2001-02-15 17:14 Bart Schaefer
  2001-02-15 17:31 ` Fletch
  2001-02-17  0:51 ` Peter Stephenson
  0 siblings, 2 replies; 8+ messages in thread
From: Bart Schaefer @ 2001-02-15 17:14 UTC (permalink / raw)
  To: zsh-workers

Got compiler warnings:

zftp.c: In function `zfgetline':
zftp.c:730: warning: variable `added' might be clobbered by `longjmp' or `vfork'
zftp.c:732: warning: variable `pcur' might be clobbered by `longjmp' or `vfork'
zftp.c:728: warning: argument `lnsize' might be clobbered by `longjmp' or `vfork'
zftp.c: In function `zftp_open':
zftp.c:1853: warning: argument `args' might be clobbered by `longjmp' or `vfork'

"make check" fails 07cond.ztst if and only if the build directory is on an
NFS filesystem (all tests succeed if the build is local).

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

end of thread, other threads:[~2001-02-19 10:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-19 10:25 4.0.1-pre-1 on RH6.2 Sven Wischnowsky
2001-02-19 10:37 ` Andrej Borsenkow
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15 17:14 Bart Schaefer
2001-02-15 17:31 ` Fletch
2001-02-15 18:04   ` Bart Schaefer
2001-02-15 19:31     ` Fletch
2001-02-17  0:51 ` Peter Stephenson
2001-02-18  1:21   ` Bart Schaefer

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