/[mailutils]/mailutils/comsat/comsat.c
ViewVC logotype

Diff of /mailutils/comsat/comsat.c

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

revision 1.29 by gray, Wed Jan 22 21:44:14 2003 UTC revision 1.30 by gray, Tue Jan 28 14:24:50 2003 UTC
# Line 215  comsat_daemon_init (void) Line 215  comsat_daemon_init (void)
215       first three one, in, out, err.  Do not do the chdir("/").   */       first three one, in, out, err.  Do not do the chdir("/").   */
216    if (daemon (1, 0) < 0)    if (daemon (1, 0) < 0)
217      {      {
218        perror (_("failed to become a daemon:"));        perror (_("failed to become a daemon"));
219        exit (EXIT_FAILURE);        exit (EXIT_FAILURE);
220      }      }
221  }  }
# Line 603  mailbox_path (const char *user) Line 603  mailbox_path (const char *user)
603    return mailbox_name;    return mailbox_name;
604  }  }
605    
 #if 0  
 /* A debugging hook */  
 volatile int _st=0;  
 void  
 stop()  
 {  
   syslog (LOG_ALERT, _("waiting for debug"));  
   while (!_st)  
     _st=_st;  
 }  
 #endif  

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26