You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ro...@apache.org on 2006/04/22 05:58:05 UTC
svn commit: r396070 - /apr/apr/trunk/threadproc/unix/procsup.c
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