rpms/bash/devel bash-sighandler.patch,1.1,1.2 bash.spec,1.84,1.85

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Sep 23 14:49:38 UTC 2005


Author: twaugh

Update of /cvs/dist/rpms/bash/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11509

Modified Files:
	bash-sighandler.patch bash.spec 
Log Message:
* Fri Sep 23 2005 Tim Waugh <twaugh at redhat.com>
- Use 'volatile' in sighandler patch.


bash-sighandler.patch:
 bashhist.c |    3 ++-
 sig.c      |    4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

Index: bash-sighandler.patch
===================================================================
RCS file: /cvs/dist/rpms/bash/devel/bash-sighandler.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bash-sighandler.patch	21 Sep 2005 14:36:27 -0000	1.1
+++ bash-sighandler.patch	23 Sep 2005 14:49:34 -0000	1.2
@@ -4,7 +4,7 @@
    longjmp (top_level, value);
  }
  
-+int global_sig = 0;
++volatile int global_sig = 0;
  sighandler
  termination_unwind_protect (sig)
       int sig;
@@ -28,7 +28,7 @@
  int
  maybe_save_shell_history ()
  {
-+  extern int global_sig;
++  extern volatile int global_sig;
    int result;
    char *hf;
    struct stat buf;


Index: bash.spec
===================================================================
RCS file: /cvs/dist/rpms/bash/devel/bash.spec,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- bash.spec	21 Sep 2005 14:36:42 -0000	1.84
+++ bash.spec	23 Sep 2005 14:49:34 -0000	1.85
@@ -257,6 +257,9 @@
 %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
 
 %changelog
+* Fri Sep 23 2005 Tim Waugh <twaugh at redhat.com>
+- Use 'volatile' in sighandler patch.
+
 * Wed Sep 21 2005 Tim Waugh <twaugh at redhat.com> 3.0-34
 - Avoid writing history files during signal handling (bug #163235).
 




More information about the fedora-cvs-commits mailing list