[srm-cvs] CVS Update: - Don't chdir to / in order to make srm.ini also work from the current working

From: <d.rethans[@]jdimedia.nl>
Date: Fri May 03 2002 - 20:44:25 CEST

Date: Fri May 3 20:44:25 CEST 2002
User: Derick Rethans
Directory: srm/main

Log Message:
 [0.25]
 - Don't chdir to / in order to make srm.ini also work from the current working
   directory
 
Modified files:
           srm/main/main.c (version: 1.55)

[FILE: /srm/main/main.c]

--- srm/main/main.c:1.54 Thu Apr 18 11:56:47 2002 GMT
+++ srm/main/main.c Fri May 03 16:44:24 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.54 2002/04/18 13:56:47 derick Exp $ */
+/* $Id: cvstemp,v 1.55 2002/05/03 18:44:24 derick Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -215,7 +215,6 @@
                                 exit(0);
                         case 0: /* This is the child context */
                                 setsid();
- chdir("/");
                                 umask(0);
                                 break;
                         default: /* Kill parent */
Received on Fri May 3 21:39:38 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 07:00:03 CET