cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/filesubr.c


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/filesubr.c
Date: Fri, 02 Sep 2005 17:51:13 -0400

Index: ccvs/src/filesubr.c
diff -u ccvs/src/filesubr.c:1.100 ccvs/src/filesubr.c:1.101
--- ccvs/src/filesubr.c:1.100   Fri Jun 10 20:32:09 2005
+++ ccvs/src/filesubr.c Fri Sep  2 21:51:08 2005
@@ -412,12 +412,10 @@
 {
     struct stat sb;
 
-#ifdef SERVER_SUPPORT
-       /* This is called by the server parent process in contexts where
-          it is not OK to send output (e.g. after we sent "ok" to the
-          client).  */
-       if (!server_active)
-#endif
+    /* This is called by the server parent process in contexts where
+       it is not OK to send output (e.g. after we sent "ok" to the
+       client).  */
+    if (!server_active)
        TRACE (TRACE_FUNCTION, "unlink_file_dir(%s)", f);
 
     if (noexec)
@@ -810,11 +808,7 @@
     if (home != NULL)
        return home;
 
-    if (
-#ifdef SERVER_SUPPORT
-       !server_active &&
-#endif
-       (env = getenv ("HOME")) != NULL)
+    if (!server_active && (env = getenv ("HOME")) != NULL)
        home = env;
     else if ((pw = (struct passwd *) getpwuid (getuid ()))
             && pw->pw_dir)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]