Skip to content

Commit 483e94f

Browse files
committed
updated for version 7.4.644
Problem: Stratus VOS doesn't have sync(). Solution: Use fflush(). (Karli Aurelia)
1 parent 2f541a2 commit 483e94f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/memfile.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ mf_sync(mfp, flags)
639639
# endif
640640
/* OpenNT is strictly POSIX (Benzinger) */
641641
/* Tandem/Himalaya NSK-OSS doesn't have sync() */
642-
# if defined(__OPENNT) || defined(__TANDEM)
642+
/* No sync() on Stratus VOS */
643+
# if defined(__OPENNT) || defined(__TANDEM) || defined(__VOS__)
643644
fflush(NULL);
644645
# else
645646
sync();

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
644,
744746
/**/
745747
643,
746748
/**/

0 commit comments

Comments
 (0)