From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: j kalbhenn Newsgroups: gmane.lisp.guile.bugs Subject: bug#27207: fsync on pipe output port exits without error message when input port has been closed Date: Sat, 3 Jun 2017 11:10:33 +0000 Message-ID: <20170603111032.GA22207@sph-desktop.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1496488275 11745 195.159.176.226 (3 Jun 2017 11:11:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 11:11:15 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) To: 27207@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jun 03 13:11:08 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dH6xW-0002YG-8u for guile-bugs@m.gmane.org; Sat, 03 Jun 2017 13:11:06 +0200 Original-Received: from localhost ([::1]:53281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH6xb-0001Jw-GX for guile-bugs@m.gmane.org; Sat, 03 Jun 2017 07:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH6xV-0001Jr-OJ for bug-guile@gnu.org; Sat, 03 Jun 2017 07:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH6xS-0007GA-E6 for bug-guile@gnu.org; Sat, 03 Jun 2017 07:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dH6xS-0007Ft-4u for bug-guile@gnu.org; Sat, 03 Jun 2017 07:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dH6xR-0000Cr-W6 for bug-guile@gnu.org; Sat, 03 Jun 2017 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: j kalbhenn Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 03 Jun 2017 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27207 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1496488257779 (code B ref -1); Sat, 03 Jun 2017 11:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2017 11:10:57 +0000 Original-Received: from localhost ([127.0.0.1]:52431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dH6xN-0000CU-AJ for submit@debbugs.gnu.org; Sat, 03 Jun 2017 07:10:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dH6xL-0000CG-0w for submit@debbugs.gnu.org; Sat, 03 Jun 2017 07:10:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH6xE-00078F-VW for submit@debbugs.gnu.org; Sat, 03 Jun 2017 07:10:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dH6xE-00078A-SF for submit@debbugs.gnu.org; Sat, 03 Jun 2017 07:10:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH6xD-0001Ji-Mi for bug-guile@gnu.org; Sat, 03 Jun 2017 07:10:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH6x7-00071W-0e for bug-guile@gnu.org; Sat, 03 Jun 2017 07:10:44 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:50654) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dH6x6-0006yg-Pi for bug-guile@gnu.org; Sat, 03 Jun 2017 07:10:40 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3132F209B7 for ; Sat, 3 Jun 2017 13:10:35 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3wfyzv0XTJz104B for ; Sat, 3 Jun 2017 13:10:34 +0200 (CEST) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8816 Archived-At: tested with 2.2.2 (let* ( (ports (pipe)) (in (car ports)) (out (cdr ports))) (close in) (display 0 out) (display 1) (fsync out) (display 2)) without "(display 0 out)", error information is displayed and guile exits before "(display 2)". with "(display 0 out)", no error information is displayed and guile exits before "(display 2)". without "(close in)", error information is displayed in both cases. i would expect the error information to be displayed in any case.