cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] Changes to ccvs/src/rcs.c [cvs1-11-x-branch]


From: Conrad T . Pino
Subject: [Cvs-cvs] Changes to ccvs/src/rcs.c [cvs1-11-x-branch]
Date: Mon, 26 Sep 2005 07:41:31 -0400

Index: ccvs/src/rcs.c
diff -u ccvs/src/rcs.c:1.262.4.44 ccvs/src/rcs.c:1.262.4.45
--- ccvs/src/rcs.c:1.262.4.44   Mon Sep 26 02:14:48 2005
+++ ccvs/src/rcs.c      Mon Sep 26 11:41:22 2005
@@ -8636,8 +8636,10 @@
     if (fflush (fp) != 0)
        error (1, errno, "error flushing file `%s' to kernel buffers",
               rcs_lockfile);
+#ifdef HAVE_FSYNC
     if (fsync (rcs_lockfd) < 0)
        error (1, errno, "error fsyncing file `%s'", rcs_lockfile);
+#endif
 
     if (fclose (fp) == EOF)
        error (1, errno, "error closing lock file %s", rcs_lockfile);




reply via email to

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