/[meteor]/googlecode.com/svn/trunk/meteord
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /googlecode.com/svn/trunk/meteord

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by andrew.betts, Mon Nov 20 18:03:29 2006 UTC revision 47 by knops.gerd, Mon Feb 4 21:06:42 2008 UTC
# Line 31  Line 31 
31  #  #
32  ###############################################################################  ###############################################################################
33    
34    ###############################################################################
35    # meterod version
36    ################################################################################
37            
38            $::VERSION='1.05.04';
39            $::RELEASE_DATE='not yet released';
40    
41  ###############################################################################  ###############################################################################
42  # Configuration  # Configuration
# Line 63  Line 69 
69  ###############################################################################  ###############################################################################
70                    
71          #          #
72            # Record startup time
73            #
74            $::STARTUP_TIME=time;
75            $::STARTUP_TIME+=0; # avoid warning
76            
77            #
78          # Program name          # Program name
79          #          #
80          $::PGM=$0;          $::PGM=$0;
# Line 90  Line 102 
102          {          {
103                  $0="$::PGM daemon";                  $0="$::PGM daemon";
104                                    
105                  unless($::CONF{'Debug'})                  my $facility=$::CONF{'SyslogFacility'} || $Meteor::Syslog::DEFAULT_FACILITY;
106                    
107                    unless($::CONF{'Debug'} || $facility eq 'none')
108                  {                  {
109                          # close standard file descriptors                          # close standard file descriptors
110                          close(STDIN);                          close(STDIN);
# Line 113  Line 127 
127                  }                  }
128                  else                  else
129                  {                  {
130                          print "$::PGM PID: $$\n";                          &::syslog('info',"PID\t%s",$$);
131                  }                  }
132          }          }
133                    
# Line 167  Line 181 
181                                  my $rVec=$serverVector;                                  my $rVec=$serverVector;
182                                  my $wVec='';                                  my $wVec='';
183                                  my $eVec='';                                  my $eVec='';
184                                            
185                                  my $rout;                                  my $rout;
186                                  my $wout;                                  my $wout;
187                                  my $eout;                                  my $eout;
188                                            
189                                  Meteor::Connection->addAllHandleBits(\$rVec,\$wVec,\$eVec);                                  Meteor::Connection->addAllHandleBits(\$rVec,\$wVec,\$eVec);
190                                                                    
191                                  my $timeout=$MAIN_LOOP_TIMEOUT;                                  my $timeout=$MAIN_LOOP_TIMEOUT;

Legend:
Removed from v.4  
changed lines
  Added in v.47

  ViewVC Help
Powered by ViewVC 1.1.26