]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Improve handling of setjmp/longjmp volatile:
authorJilles Tjoelker <jilles@FreeBSD.org>
Tue, 23 Jun 2009 20:45:12 +0000 (20:45 +0000)
committerJilles Tjoelker <jilles@FreeBSD.org>
Tue, 23 Jun 2009 20:45:12 +0000 (20:45 +0000)
commit224fbf9fd641d4f4b44cc3d6a44c7eb1b272968a
treed592f11be2381156c3c2f8e6dd6f4bcfb70c2c6c
parentd54384d976a3f6703e761915018b9d7d190b06f3
sh: Improve handling of setjmp/longjmp volatile:
- remove ineffective and unnecessary (void) &var; [1]
- remove some unnecessary volatile keywords
- add a necessary volatile keyword
- save the old handler before doing something that could use the saved
  value

Submitted by: Christoph Mallon [1]
Approved by: ed (mentor)
bin/sh/eval.c
bin/sh/histedit.c
bin/sh/parser.c
bin/sh/var.c