Hi all,
The Stratus VOS operating system needs to use fflush() instead of sync() in
memfile.c, like Tandem Nonstop and OpenNT. Here's a diff to make it happen.
diff -r b64f0df9399c src/memfile.c
--- a/src/memfile.c Tue Feb 17 17:50:26 2015 +0100
+++ b/src/memfile.c Fri Feb 20 02:08:29 2015 -0700
@@ -639,7 +639,8 @@
# endif
/* OpenNT is strictly POSIX (Benzinger) */
/* Tandem/Himalaya NSK-OSS doesn't have sync() */
-# if defined(__OPENNT) || defined(__TANDEM)
+ /* No sync() on Stratus VOS */
+# if defined(__OPENNT) || defined(__TANDEM) || defined(__VOS__)
fflush(NULL);
# else
sync();
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff -r b64f0df9399c src/memfile.c
--- a/src/memfile.c Tue Feb 17 17:50:26 2015 +0100
+++ b/src/memfile.c Fri Feb 20 02:08:29 2015 -0700
@@ -639,7 +639,8 @@
# endif
/* OpenNT is strictly POSIX (Benzinger) */
/* Tandem/Himalaya NSK-OSS doesn't have sync() */
-# if defined(__OPENNT) || defined(__TANDEM)
+ /* No sync() on Stratus VOS */
+# if defined(__OPENNT) || defined(__TANDEM) || defined(__VOS__)
fflush(NULL);
# else
sync();