aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-09 14:11:20 (GMT)
committerfluxgen <fluxgen>2002-01-09 14:11:20 (GMT)
commite0969658986378d0d79b990a9862e5c0e3aff911 (patch)
tree2d50f61d27b3e7e7d0a99bcdb938797486ad3fdb /src/main.cc
parenta7e1cc466ae291852dd1f0c296417250483b137c (diff)
downloadfluxbox-e0969658986378d0d79b990a9862e5c0e3aff911.zip
fluxbox-e0969658986378d0d79b990a9862e5c0e3aff911.tar.bz2
updated copyright date and added id-tags
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 19ed631..2e62662 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -1,3 +1,6 @@
1// main.cc for Fluxbox Window manager
2// Copyright (c) 2001 - 2002 Henrik Kinnunen (fluxgen@linuxmail.org)
3//
1// main.cc for Blackbox - an X11 Window manager 4// main.cc for Blackbox - an X11 Window manager
2// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) 5// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)
3// 6//
@@ -19,6 +22,8 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
21 24
25// $Id: main.cc,v 1.2 2002/01/09 14:11:20 fluxgen Exp $
26
22// stupid macros needed to access some functions in version 2 of the GNU C 27// stupid macros needed to access some functions in version 2 of the GNU C
23// library 28// library
24#ifndef _GNU_SOURCE 29#ifndef _GNU_SOURCE
@@ -58,7 +63,21 @@
58#include <iostream> 63#include <iostream>
59using namespace std; 64using namespace std;
60 65
66#ifdef DEBUG_UDS
67
68#include <uds/init.hh>
69#include <uds/uds.hh>
70
71// configure UDS
72uds::uds_flags_t uds::flags = uds::leak_check;
73
74#endif //!DEBUG_UDS
75
61int main(int argc, char **argv) { 76int main(int argc, char **argv) {
77 #ifdef DEBUG_UDS
78 uds::Init uds_init;
79 #endif //!DEBUG_UDS
80
62 char *session_display = (char *) 0; 81 char *session_display = (char *) 0;
63 char *rc_file = (char *) 0; 82 char *rc_file = (char *) 0;
64 83