/[LeafOK_CVS]/lbbs/src/init.c
ViewVC logotype

Diff of /lbbs/src/init.c

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

Revision 1.1 by sysadm, Mon Oct 18 08:16:49 2004 UTC Revision 1.3 by sysadm, Mon Oct 18 11:34:15 2004 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2                            bbsd.c  -  description                            init.c  -  description
3                               -------------------                               -------------------
4      begin                : Mon Oct 18 2004      begin                : Mon Oct 18 2004
5      copyright            : (C) 2004 by Leaflet      copyright            : (C) 2004 by Leaflet
# Line 38  init_daemon (void) Line 38  init_daemon (void)
38    
39    for (i = 0; i < NOFILE; ++i)    for (i = 0; i < NOFILE; ++i)
40      close (i);      close (i);
41    chdir ("/tmp");    chdir (app_home_dir);
42    umask (0);    umask (0);
43    
44    signal(SIGCHLD,SIG_IGN);    signal (SIGCHLD, SIG_IGN);
45    
46    return;    return;
47  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1