1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../fam/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
23 -#include <iostream.h>
31 #include <sys/types.h>
43 #include "Scheduler.h"
47 int IMon::imonfd = -2;
48 IMon::EventHandler IMon::ehandler = NULL;
49 --- ./src/DNotify.h.old 2008-08-25 15:27:30.000000000 +0200
50 +++ ./src/DNotify.h 2008-08-25 15:30:19.000000000 +0200
52 static int pipe_write_fd;
53 static int pipe_read_fd;
54 static int change_queue[QUEUESIZE];
55 - static volatile sig_atomic_t DNotify::queue_overflowed;
56 - static volatile sig_atomic_t DNotify::queue_changed;
57 + static volatile sig_atomic_t queue_overflowed;
58 + static volatile sig_atomic_t queue_changed;
59 static volatile int queue_head; // Only modified by read handler
60 static volatile int queue_tail; // Only modified by signal handler
61 static EventHandler ehandler;