www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Trival patches for dmd samples and phobos - dmd-trival-fixes.diff

see attached patch file

Thomas


begin 0644 dmd-trival-fixes.diff
M9&EF9B`M=7( 9&UD+W-A;7!L97,O9"]D<V5R=F5R+F0 ;F5U+V1M9"]S86UP
M;&5S+V0O9'-E<G9E<BYD"BTM+2!D;60O<V%M<&QE<R]D+V1S97)V97(N9`DR
M,#`T+3`V+3(X(#$R.C0Q.C4V+C`P,#`P,#`P,"`K,#(P,`HK*RL ;F5U+V1M
M9"]S86UP;&5S+V0O9'-E<G9E<BYD"3(P,#0M,#<M,C8 ,34Z-3(Z,CDN,#`P
M,#`P,#`P("LP,C`P"D!`("TR-3$L-R`K,C4Q+#< 0$`*("` ("!-97-S86=E
M0F]X02AN=6QL+")$;&Q296=I<W1E<E-E<G9E<B I(BQN=6QL+$U"7T]+*3L-
M"B`-"B` ("` +R]#<F5A=&4 <V]M92!B87-E(&ME>2!S=')I;F=S+ T*+2` 
M("!3=')I;F=&<F]M1U5)1#(H)D-,4TE$7TAE;&QO+"`H3%!/3$535%(I<WI)
M1"P ,3(X*3L-"BL ("` 4W1R:6YG1G)O;4=5240R*"9#3%-)1%](96QL;RP 
M8V%S="A,4$],15-44BES>DE$+"`Q,C I.PT*("` ("!U;FEC;V1E,F%N<VDH
M<WI)1"D[#0H ("` ('-T<F-P>2AS>D-,4TE$+"`B0TQ3241<7"(I.PT*("` 
M("!S=')C870H<WI#3%-)1"P <WI)1"D[#0I`0"`M,CDX+#< *S(Y."PW($!`
M"B` ("` 365S<V%G94)O>$$H;G5L;"PB1&QL56YR96=I<W1E<E-E<G9E<B I
M(BQN=6QL+$U"7T]+*3L-"B`-"B` ("` +R]#<F5A=&4 <V]M92!B87-E(&ME
M>2!S=')I;F=S+ T*+2` ("!3=')I;F=&<F]M1U5)1#(H)D-,4TE$7TAE;&QO
M+"`H3%!/3$535%(I<WI)1"P ,3(X*3L-"BL ("` 4W1R:6YG1G)O;4=5240R
M*"9#3%-)1%](96QL;RP 8V%S="A,4$],15-44BES>DE$+"`Q,C I.PT*("` 
M("!U;FEC;V1E,F%N<VDH<WI)1"D[#0H ("` ('-T<F-P>2AS>D-,4TE$+"`B
M0TQ3241<7"(I.PT*("` ("!S=')C870H<WI#3%-)1"P <WI)1"D[#0ID:69F
M("UU<B!D;60O<V%M<&QE<R]D+W)E8VQS7W1E<W1?,2YD(&YE=2]D;60O<V%M
M<&QE<R]D+W)E8VQS7W1E<W1?,2YD"BTM+2!D;60O<V%M<&QE<R]D+W)E8VQS
M7W1E<W1?,2YD"3(P,#,M,3$M,C0 ,38Z,C`Z-30N,#`P,#`P,#`P("LP,3`P
M"BLK*R!N974O9&UD+W-A;7!L97,O9"]R96-L<U]T97-T7S$N9`DR,#`T+3`W
M+3(V(#$U.C4R.C(Y+C`P,#`P,#`P,"`K,#(P,`I`0"`M,C$X+#< *S(Q."PW
M($!`"B`-"B` ("` ("` ("` ("` ("` 9F]R96%C:"AC:&%R6UT <&%R=#L 
M<&%R=',I#0H ("` ("` ("` ("` ("` ('L-"BT ("` ("` ("` ("` ("` 
M("` ('!R:6YT9B B("` ("4J<R(L(&]F9BP *&-H87(J*2(B*3L-"BL ("` 
M("` ("` ("` ("` ("` ('!R:6YT9B B("` ("4J<R(L(&]F9BP 8V%S="AC
M:&%R*BDB(BD[#0H ("` ("` ("` ("` ("` ("` ("!P<FEN=&8H(B4N*G-<
M;B(L('!A<G0I.PT*("` ("` ("` ("` ("` ("` ("` ;V9F("L]('!A<G0N
M;&5N9W1H.PT*(`T*0$` +3(S,BPQ,2`K,C,R+#$Q($!`"B` ("` ("` ("` 
M("` ("` <&%T:$-H96-K('X](&1I<CL-"B` ("` ("` ("` ("!]#0H #0HM
M("` ("` ("` ("` <')I;G1F*"( ("` )2IS)2XJ<UQN(BP ;V9F+"`H8VAA
M<BHI(B(L(&9I;&4I.PT*+2` ("` ("` ("` ('!R:6YT9B B("` ("4J<R4N
M*G-<;B(L(&]F9BP *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.PT**R` ("` ("` ("` ("` ("!P<FEN=&8H(B` 
M("`E*G,B+"!O9F8L(&-A<W0H8VAA<BHI(B(I.PT*("` ("` ("` ("` ("` 
M("!P<FEN=&8H(B4N*G-<;B(L('!A<G0I.PT*("` ("` ("` ("` ("` ("!O
M9F8 *ST <&%R="YL96YG=& [#0H #0I`0"`M,C(V+#$Q("LR,C8L,3$ 0$`*
M("` ("` ("` 8VAA<EM=("` ("` ("` ("` ("!F:6QE3F%M92` ("`]("` 
M96YT<GDN1FEL94YA;64[#0H ("` ("` ("!C:&%R6UT ("` ("` ("` ("` 
M(&9I;&5%>'0 ("` (#T ("!E;G1R>2Y&:6QE17AT.PT*(`T*+2` ("` ("` 
M<')I;G1F*"( ("` )2IS)2XJ<UQN(BP ;V9F+"`H8VAA<BHI(B(L(&9I;&4I
M.PT*+2` ("` ("` <')I;G1F*"( ("` )2IS)2XJ<UQN(BP ;V9F+"`H8VAA
M<BHI(B(L(&9I;&5.86UE*3L-"BL ("` ("` ('!R:6YT9B B("` ("4J<R4N
M*G-<;B(L(&]F9BP 8V%S="AC:&%R*BDB(BP 9FEL92D[#0HK("` ("` ("!P
M<FEN=&8H(B` ("`E*G,E+BIS7&XB+"!O9F8L(&-A<W0H8VAA<BHI(B(L(&9I
M;&5.86UE*3L-"B` ("` ("` (&]F9B` ("` *ST (&9I;&4N;&5N9W1H.PT*
M("` ("` ("` 97AT3&5N("`]("` 9FEL945X="YL96YG=& [#0HM("` ("` 
M("!P<FEN=&8H(B` ("`E*G,E+BIS7&XB+"!O9F8 +2!E>'1,96XL("AC:&%R
M*BDB(BP 9FEL945X="D[#0HK("` ("` ("!P<FEN=&8H(B` ("`E*G,E+BIS
M7&XB+"!O9F8 +2!E>'1,96XL(&-A<W0H8VAA<BHI(B(L(&9I;&5%>'0I.PT*
M("` ("` ("` 9FEL94-H96-K(#T 9FEL94YA;64[#0H ("` ("` ("!I9B P
M(#P 97AT3&5N*0T*("` ("` ("` >PT*9&EF9B`M=7( 9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