Mail Archives: cygwin/1998/03/09/06:25:00
In article <023501bd4b21$4c817b40$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp>,
Colin Peters <colin AT fu DOT is DOT saga-u DOT ac DOT jp> 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:29<M.0N"&SMUE!A)+J]5OWU>RZXW'H#MF=`5Z#+I.
M?CC^W"7Z.`YG\`F<NTDP3_2CPX9IFGM)9-\&NXX#MUZ0S*/L>6-G9V<%:64X
M)W!"1F`TP#0[1KMC-,$X.CK<T'6]S*=R;5-X;\?0.(!&H],\Z+1;@GBG^`%G
M2IQOECVQO:##=V^:AUJS:0*;W0#\.%/D,[,GGO/%_-K%H8U-'/7&4-V$`;'=
M$\\G4)T&KB:H-$B\/TF(\_RQIL%+-PR(!HU:C3,$^)E^`[SQPX2<VH&;\JAU
MN3@"1`O5J.L/@."CH_GX"\*%][U/UE5O>`IU,)"$S;.IQE<XYC\,^<.4/P3.
M*OZL AT 0Y\?ONFL=U=+2"2YN+)=4\5<+T)FFVM>7B4FP#@7M4[VPU>'8,)+U^F
M2D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B0F[7F+$<^0,CLUT2$24<%TLGH.?)*9PG/72<;K?+-1:Z^\WCK1]
MM;"PS^O+2W2P'QYNF)=<D=?AUO8H.U0W&>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".
- Raw text -