The following commit has been merged in the master branch:
commit 5b44e3de7a0cc640aefe1c5e5e42857f56f2e8d7
Author: Guillem Jover <[email protected]>
Date:   Sun Aug 16 14:54:32 2009 +0200

    Set action_todo as volatile to avoid possible clobbering on longjmp

diff --git a/src/packages.c b/src/packages.c
index e566db8..b176581 100644
--- a/src/packages.c
+++ b/src/packages.c
@@ -169,7 +169,7 @@ void packages(const char *const *argv) {
 void process_queue(void) {
   struct pkginqueue *removeent, *rundown;
   struct pkginfo *volatile pkg;
-  enum action action_todo;
+  volatile enum action action_todo;
   jmp_buf ejbuf;
   enum istobes istobe= itb_normal;
   

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to