ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/deliantra
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/deliantra (file contents):
Revision 1.82 by root, Wed Dec 24 04:09:27 2008 UTC vs.
Revision 1.83 by root, Sun Jan 4 10:22:19 2009 UTC

88use Deliantra::Protocol::Constants; 88use Deliantra::Protocol::Constants;
89 89
90use AnyEvent::Util (); 90use AnyEvent::Util ();
91use AnyEvent::DNS; 91use AnyEvent::DNS;
92use AnyEvent::Socket (); 92use AnyEvent::Socket ();
93use AnyEvent::DNS ();
93 94
94use Compress::LZF; 95use Compress::LZF;
95use JSON::XS; 96use JSON::XS;
96 97
97use DC; 98use DC;
2599$SIG{INT} = $SIG{TERM} = sub { 2600$SIG{INT} = $SIG{TERM} = sub {
2600 EV::unloop; 2601 EV::unloop;
2601 #d# TODO calling exit here hangs the process in some futex 2602 #d# TODO calling exit here hangs the process in some futex
2602}; 2603};
2603 2604
2605# initialise the resolver now, as vista forces us back to the desktop
2606# when doing this.
2607AnyEvent::DNS::resolver;
2608
2604# due to mac os x + sdl combined briandamage, we need this contortion 2609# due to mac os x + sdl combined braindamage, we need this contortion
2605sub main { 2610sub main {
2606 { 2611 {
2607 DC::Pod::load_docwiki DC::find_rcfile "docwiki.pst"; 2612 DC::Pod::load_docwiki DC::find_rcfile "docwiki.pst";
2608 2613
2609 if (-e "$Deliantra::VARDIR/client.cf") { 2614 if (-e "$Deliantra::VARDIR/client.cf") {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines