[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r396070 - /apr/apr/trunk/threadproc/unix/procsup.c
From:       rooneg () apache ! org
Date:       2006-04-22 3:58:05
Message-ID: 20060422035806.88517.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: rooneg
Date: Fri Apr 21 20:58:04 2006
New Revision: 396070

URL: http://svn.apache.org/viewcvs?rev=396070&view=rev
Log:
* threadproc/unix/procsup.c
  (apr_proc_detach): Remove tabs that were screwing up the indenting.

Modified:
    apr/apr/trunk/threadproc/unix/procsup.c

Modified: apr/apr/trunk/threadproc/unix/procsup.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/threadproc/unix/procsup.c?rev=396070&r1=396069&r2=396070&view=diff
 ==============================================================================
--- apr/apr/trunk/threadproc/unix/procsup.c (original)
+++ apr/apr/trunk/threadproc/unix/procsup.c Fri Apr 21 20:58:04 2006
@@ -28,15 +28,15 @@
     /* Don't detach for MPE because child processes can't survive the death of
      * the parent. */
     if (daemonize) {
-	    if ((x = fork()) > 0) {
-	        exit(0);
+        if ((x = fork()) > 0) {
+            exit(0);
         }
-	    else if (x == -1) {
-	        perror("fork");
-	        fprintf(stderr, "unable to fork new process\n");
-	        exit(1);  /* we can't do anything here, so just exit. */
-	    }
-	    /* RAISE_SIGSTOP(DETACH); */
+        else if (x == -1) {
+            perror("fork");
+            fprintf(stderr, "unable to fork new process\n");
+            exit(1);  /* we can't do anything here, so just exit. */
+        }
+        /* RAISE_SIGSTOP(DETACH); */
     }
 #endif
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic