Project

General

Profile

Actions

Bug #6503

open

fseek() seems to be documented to do an implicit fflush()

Added by Richard PALO almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
2015-12-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

As indicated on the general illumos list,
the attached test file demonstrates an anomaly that seeking doesn't
seem to automatically flush buffers in buffered file opened r/w.

This is a crude reproduction of a situation where the latest mercurial has issues with
certain repositories as reported https://bz.mercurial-scm.org/show_bug.cgi?id=4943


Files

tseek.c (1.46 KB) tseek.c test program Richard PALO, 2015-12-09 07:00 AM
Actions

Also available in: Atom PDF