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


From: Conrad T . Pino
Subject: [Cvs-cvs] Changes to ccvs/src/rcs.c
Date: Sun, 25 Sep 2005 23:36:45 -0400

Index: ccvs/src/rcs.c
diff -u ccvs/src/rcs.c:1.355 ccvs/src/rcs.c:1.356
--- ccvs/src/rcs.c:1.355        Mon Sep 26 02:55:16 2005
+++ ccvs/src/rcs.c      Mon Sep 26 03:36:44 2005
@@ -8542,8 +8542,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]