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 [cvs1-11-x-branch]


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/filesubr.c [cvs1-11-x-branch]
Date: Fri, 02 Sep 2005 15:37:41 -0400

Index: ccvs/src/filesubr.c
diff -u ccvs/src/filesubr.c:1.59.4.16 ccvs/src/filesubr.c:1.59.4.17
--- ccvs/src/filesubr.c:1.59.4.16       Wed Nov  3 00:30:23 2004
+++ ccvs/src/filesubr.c Fri Sep  2 19:37:33 2005
@@ -435,14 +435,10 @@
 {
     struct stat sb;
 
-    if (trace
-#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).  */
-       && !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 (trace && !server_active)
        (void) fprintf (stderr, "-> unlink_file_dir(%s)\n", f);
 
     if (noexec)
@@ -1003,11 +999,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]