From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.bugs Subject: Re: open-output-pipe problem Date: Thu, 08 Aug 2002 18:08:36 -0700 Sender: bug-guile-admin@gnu.org Message-ID: References: Reply-To: ttn@glug.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1028855557 14706 127.0.0.1 (9 Aug 2002 01:12:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2002 01:12:37 +0000 (UTC) Cc: bug-guile@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17cyKR-0003ov-00 for ; Fri, 09 Aug 2002 03:12:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cyKx-0003pH-00; Thu, 08 Aug 2002 21:13:07 -0400 Original-Received: from ca-crlsca-cuda3-c6a-b-211.crlsca.adelphia.net ([68.71.15.211] helo=giblet) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cyKM-0003il-00 for ; Thu, 08 Aug 2002 21:12:30 -0400 Original-Received: from ttn by giblet with local (Exim 3.35 #1 (Debian)) id 17cyGa-0000l0-00; Thu, 08 Aug 2002 18:08:36 -0700 Original-To: satoru@namazu.org In-Reply-To: (message from Thien-Thi Nguyen on Wed, 07 Aug 2002 20:20:48 -0700) Errors-To: bug-guile-admin@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.bugs:427 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:427 From: Thien-Thi Nguyen Date: Wed, 07 Aug 2002 20:20:48 -0700 i have experimented w/ back-porting the new popen.scm (including associated support in libguile) w/o success [...] turns out i was laboring under the classic stupidity of forgetting to unpack an SCM... live and learn. in any case, please find below a uuencoded tarball containing libguile/ioext.h libguile/ioext.c ice-9/popen.scm that you should be able to able to unpack in the guile-1.4.1 top-level directory. as you may notice, popen.scm `open-process' now closes file descriptors instead of ports, following the change in HEAD. however, the implementation is more straightforward than in HEAD, w/ only one addition to libguile (`scm_close_all_fdes_except' and associated scheme binding). you might notice other changes to popen.scm; those are related to the documentation methodology and are not relevant to its operation. please rebuild and let me know of any problems. thi _______________________________________ begin 644 popen-fix.tar.gz M'XL(`+<04ST``^P\:7/;1I;Y*M7\B(Y<:Y,.)%/RM;$L)[1$V=K1M225C,MQ M84"P(<(&`2X`BM:X^-_W'7T!/&3/5O8JLQ(9!+I?O_OJ!I-X<#V-$_DHSN3G MX\?/?V@]?[KWY%GKV>/=71B_ M]_A9ZP?1^C.0J7^F11GD0OQ0ENG:<7<]_S_Z>?1PXS";W.;Q]:@4C<.FV/WY MYZ<>_GU&?Y_3WW^EOS][8@\$1G_WQ'$NI>AE43D+*<8R:$8$!R)Z+&YD7\%WL>0*0:`0EXIF+;(*CF@@F2&]% M$I1V["IZ+5E#$:>T_"B;``DC@`I$S>(D$0,IIH6,IHF'(&"P^/VD__;BJB_: MY^_$[^UNMWW>?[3QQ?=$5;7+:[_9/#J]-V5UQ>=2\O>IT=(7H2T9((8`U/ M(Q(+\&THRR!."DWX.Y!D`=@E0S$*;B1(-)3Q#>`6B!#TZVYI$5N3++TF,F$P M<,\J2L'(B0AMY^*JUU;$M@L@JYC(,`8R MY.=03ACXNJ7%-;`#=`-T-RY091`0E^".@74I<#EEY8G+ M`MB:R`#$`(/>7)V<=JS>28L(*AXJF"?BB$PLB=-/S'Z<`U\'>9#?,J,S4GGD M:T'C169*\&II0MFIC%V\B((VD,O3-0N]R=D#V7A*46F*CE%`$/'S[:W-S\"_Q_+T[#9`H,?UF4PSC;&;VRM[82G3GZ13C>&6TM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