From: cgf AT bbc DOT com (Christopher Faylor) Subject: Re: Cygnus b19 gcc and Mingw32 9 Mar 1998 06:25:00 -0800 Message-ID: References: <023501bd4b21$4c817b40$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp> Reply-To: cgf AT bbc DOT com To: gnu-win32 AT cygnus DOT com In article <023501bd4b21$4c817b40$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp>, Colin Peters wrote: >On a new point. Are Mingw32 programs the only ones suffering from bizarre >problems with stdin, stdout and such under bash? I seem to remember >something about non-Cygwin32 programs >having output disappear, and it definitely happens to me. Here's a patch that I've submitted to Cygnus which should deal with this problem. If you want a prebuilt .dll, check out: http://www.tiac.net/users/cgf/cygwinb19.dll-gz (Don't ask about the the -gz "extension". My ISP is incompetent...) patch from cgf AT bbc DOT com (Christopher Faylor) * spawn.cc (spawn_guts): Make argument handling after `#! pgm' handle spaces similarly to UNIX. Close "linearized" file handles when a non-cygwin32 binary is executed or suffer hangs on exit. Reorganize lpReserved2 buffer to avoid conflicts with Microsoft usage which resulted in incorrect stdin/stdout operation with programs compiled using MSVC. * pinfo.cc (pinfo_init): Accomodate change to lpReserved2 organization. begin 664 spawnfix3001.gz M'XL(```````"`]59?5/;/!+_.WR*A6=:$F)#["2\)$=OTC84;B AT P(;VV5SH> MQU827QW;9RNE/"W?_5:29RZXW'H#MF=`5Z#+I. M?CC^W"7Z.`YG\`F6-G9V<%:64X M)W!"1F`TP#0[1KMC-,$X.CK`IU,)"$S;.IQE7B4FP#@7M4[VPU>'8,)+U^F M2D$I-Q']^^U\R!!#_]C.06VFH+C>`G)K13:=?I&*2Y66$>Q$-$:52+I,Z^RS MMP.#>0#)E/@^A`%XE"&S(7%B+Z*PLZ<2>](7),P_MN'7KR+,S0QF$2K[)#1V MHCNH2B0:;"73K5HW(T`T`DFZ_:U'I^&,YA,KBKV`(IZM%PEX26:FFV!+@R@.)Q:* MSA=EZVZG7"[N`NA1_)N9Z2;>+CX':#<]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[ M$),D_HY(2M"6@'^4%W!V_P7CKP^ZUH'6:B\$W?*T4+2DT#T3/[/M*^#-F-K! M995V09.X0(/EV[\IB0F[7F+$<^0,CLUT2$24<%TLGH.?)*9PG/72<;K?+-1:Z^\WCK1] MM;"PS^O+2W2P'QYNF)=J?D;<[O8I#AR0)"[()GE>8\WEH M+WR.XGNE94=A`K8ZNS_(#I4R>")T]8!:MH_K>4N?'HGY,MQ.'H=Q(]2#D\=* M$%(.C'4LK&--YB-.P*Z`[^!%I.$?ZR+X:9$QB+`#E+L6B$6#7SJ<+R)IKD+R MO"B4<\0UH<,IF[R*O3#V*'K<.T+?S&.F,C$#5>RKAJ>#?N^M=34XNQR<#3]; MIV?O3K$LIV5 AT OW&H[1MFL2']O>86VGI62=9[=;NA[;>;PJNYW%C^]EM98*?G M?X'OE7C5\A%_GX3Q-5K/)Y>C?Q*'E1)F(CR;8OW[V#L;6I>O_]9_,[1X^JZD M00R_CJ'_"2<'_:O>H'\Q/+MXU]VHL_G\=0++__!R@:Y6$X2L$-3E]47U>^BY M-2B4%)=8*ZM*K9NO=5AKBA'D6V//QRVK^>2]P#Q"!7_C5QN.C>@*8K&W:YW' MJ!>]:-]0U-O"+-+.SCG+.9L=`8!I8J7&"JWUJMBH2P.NR!R+*E4R2#;&&W\V MCK'Z&"6=],[.^V\[&^Y3W AT 5'7C`.E7?!\GG)NV`YM?@N&(_XY7?!&7'I77"[ MTSQ:_BZ8K["\`/4@'(Q#.&QHAZUB]B_=1Z;MT`BU]QB/+-9L7O528XWX5>,H F"YV\R\POG48B33%4[6*26HE*WML]'5RQE_L/H/X;G9UVR!8@``!2 ` end -- http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".