From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2FDC53858C83; Thu, 22 Sep 2022 18:02:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2FDC53858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663869724; bh=upyqCwAwOZchdDn7w1EBKpIgTvyJSZETa50XkzMwciI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MQDn2BgZdGCjFuNoEPzKOEbqOYIl649JB3FaKfGW19VwVMcQrQ1q7qLzsMN5klAS+ rqb4fCMpO8kOlsl/6KBlcb+5wxALhCpxPObDWm+H4oij6xGERswtSjy75o7ZWikbGn hs9U+pKLBTM+F1LwddTXs7lcxF5AgIw6+/OszjHk= From: "abdulrahman.mahmoud75 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/29601] fclose() doesn't flush the output as it should be Date: Thu, 22 Sep 2022 18:01:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: abdulrahman.mahmoud75 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29601 --- Comment #2 from abdulrahman mahmoud --- (In reply to Andreas Schwab from comment #1) > This is because EOF is now sticky, see commit 2cc7bad0ae. You need to ca= ll > fseek or clearerr before you can read more from a changing file. Thanks Andreas, i have called clearerr and it solved the issue. --=20 You are receiving this mail because: You are on the CC list for the bug.=