/[pkgs]/devel/ElectricFence/ElectricFence-2.0.5-longjmp.patch
ViewVC logotype

Contents of /devel/ElectricFence/ElectricFence-2.0.5-longjmp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Sep 9 02:29:07 2004 UTC (5 years, 2 months ago) by cvsdist
Branch: MAIN
CVS Tags: F-12-split, RHL-7_0-split, F-7-split, FC-5-split, ElectricFence-2_2_2-25_fc9, ElectricFence-2_2_2-6, ElectricFence-2_2_2-5, RHL-7_2-split, RHL-9-split, F-10-split, RHEL-3-split, ElectricFence-2_2_2-8, F-11-split, RHL-8-split, ElectricFence-2_2_2-25, ElectricFence-2_2_2-22, ElectricFence-2_2_2-23, ElectricFence-2_2_2-20, RHL-7_1-split, ElectricFence-2_2_2-26_fc11, F-9-split, ElectricFence-2_2_2-7, RHEL-4-split, FC-6-split, F-8-split, RHL-7_3-split, FC-3-split, FC-1-split, ElectricFence-2_2_2-11, ElectricFence-2_2_2-20_1, ElectricFence-2_2_2-27_fc12, ElectricFence-2_2_2-17_1, ElectricFence-2_2_2-20_2, present-on-devel, FC-4-split, RHEL-2_1-split, FC-2-split, ElectricFence-2_2_2-19, ElectricFence-2_2_2-18, ElectricFence-2_2_2-16, ElectricFence-2_2_2-15, ElectricFence-2_2_2-20_2_1, ElectricFence-2_2_2-20_2_2, ElectricFence-2_2_2-10, HEAD
File MIME type: text/x-patch
auto-import changelog data from ElectricFence-2.2.2-5.src.rpm
* Fri Aug 18 2000 Tim Waugh <twaugh@redhat.com>
- fix efence.3/libefence.3 confusion (#16412).

* Tue Aug 01 2000 Tim Powers <timp@redhat.com>
- added ldconfig stuff to ;post and postun
- added Requires /sbin/ldconfig

* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Wed Jul 05 2000 Preston Brown <pbrown@redhat.com>
- back in main distro
- 2.2.2 version - claimed beta, but no releases in over a year.
- FHS macros

* Fri May 26 2000 Tim Powers <timp@redhat.com>
- moved to Powertools
- fix map page location to be in /usr/share/man

* Tue May 16 2000 Jakub Jelinek <jakub@redhat.com>
- fix build on ia64

* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- fix description
- man pages are compressed

* Tue Jan 04 2000 Jeff Johnson <jbj@redhat.com>
- remove ExcludeArch: alpha (#6683).

* Sat Apr 10 1999 Matt Wilson <msw@redhat.com>
- version 2.1

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 13)

* Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
- build for glibc 2.1

* Fri Aug 21 1998 Jeff Johnson <jbj@redhat.com>
- create efence.3 (problem #830)

* Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Mon Jun 01 1998 Prospector System <bugs@redhat.com>
- translations modified for de

* Mon Jun 01 1998 Prospector System <bugs@redhat.com>
- need to use sigsetjmp() and siglongjmp() for proper testing

* Fri May 01 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
- use ExcludeArch instead of Exclude

* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc
1 --- ElectricFence-2.0.5/eftest.c.ewt Tue Jun 2 09:25:10 1998
2 +++ ElectricFence-2.0.5/eftest.c Tue Jun 2 09:24:58 1998
3 @@ -24,7 +24,7 @@
4 extern int EF_PROTECT_BELOW;
5 extern int EF_ALIGNMENT;
6
7 -static jmp_buf env;
8 +static sigjmp_buf env;
9
10 /*
11 * There is still too little standardization of the arguments and return
12 @@ -40,13 +40,13 @@
13 )
14 {
15 signal(PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
16 - longjmp(env, 1);
17 + siglongjmp(env, 1);
18 }
19
20 static int
21 gotSegmentationFault(int (*test)(void))
22 {
23 - if ( setjmp(env) == 0 ) {
24 + if ( sigsetjmp(env, 1) == 0 ) {
25 int status;
26
27 signal(PAGE_PROTECTION_VIOLATED_SIGNAL

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2