Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: 3.1.5-pws-10: QNX4



This is an attempt to get the latest development version of zsh,
http://www.ifh.de/~pws/computing/zsh-3.1.5-pws-10.tar.gz , to work on
QNX4.  I haven't been able to test it, except that it doesn't blow up
elsewhere.

Most of it is simply changing halloc() to zhalloc(); #defining it out of
the way is asking for trouble, as I know from trying to debug such things.
Also, if one system has its own halloc(), it won't be long before someone
else has it.  People will need to remember the z from now on.

There's now a direct test for QNX in configure, to see if it should use the
system's getcwd() instead of zgetcwd().  In that case it uses the code Matt
added to support cygwin (i.e. it doesn't simply call getcwd(), there are
still a few extra frills).  If this works, it would be neater to move the
test for cygwin back to configure as well.  It would be even neater if we
could work out a test for whether zsh can successfully use the system's
getcwd().

It's possible I haven't got the checks for the terminal mode definitions
right, in which case we'll just have to add another ad hoc system test in
configure.

begin 644 qnx.dif.gz
M'XL("#ILVC8``W%N>"YD:68`Y#MI=]LXDI_E7X&D=V*=MBA9/N1VNMV.G7C&
M.=:6NV<FDZ='4Y#%,:^0D`]U]_[VK0,@04K*L?O>?EDG-BB@J@A4%>H"U.ET
MQ%7J;?\SD-M>'":>"K:\K<_18^TL]<69O!&]7>'L#'<<^"^<@X.#C5:KM8Q2
M>QM'XJV;"@%0W>'._K#;9?"??Q8=9Z?;WA,M;G[^>4/4'F9^($6]Z::W]PWQ
M._0(^/&GHEX/Q9%(W#238R]TE3>3:3UR0]D6#-P01S#NA6.9I@W`JZ52S=-(
M]`XW.D2D^1D(1/!;/PD#/U,-,7.#(/;JF;^0\;2>J73N*>'Q8.-PH[4&;?$5
M/)YSU'D9R4<%B.^N+RZL7CUY&`BM7J`"/;245@NF;/%_$<CQ#&A7!.#TA-,?
M]O:&@_ZR``J<J@0`_J"0P.Z@CQ+@!B60*5?YGKB/_<F&F,1^)MW4F]7]2(F)
MCXS]?:.#4_9F0+*9`??]F_D4IJZ9LM]M0%_&?334$F?GEU>C\=7I\>7)F_')
MF^-+X.U*&H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9S_<+VQ
M=S]&"8_-=CL23S([Q)T3879259Z6^881$CXG<P(A`ZA)%)L9<@6,7H#A^RWW
M\I>7N5PY=?W`T+B1GFML&[`8%"]D(/R:%)[X^7C/6[R)'^0]5NKH`KBK*`(U
M-!ZD*<F!?+(X<F^P.(O;<H*\?.!:.A*<2#?`$AJ5'ER#_XM,[V0@8>&?YZ".
M9!%A0\;"S;)Y*,T2_KMMZWE-&(;"=_^*(!XZMPE>AB`>!E;)P8K-'(YM%-<H
M%;)%C!V4X?^^+R]9-:Z7D/:]/%Z^]S,I95)O##O:_V7L9GIV^06"GBNSM!%D
M>?C&\80G<>0!S)[G?`P;;G>MV^LX1!JK+2,K&'^7!^9@)(],3`M%))7>HX>4
MRKFU5*;ZQ)@K#4257DL:L*E#1;,/>_]2?A'ES;=)].UA@/CM/_C`/2L=%BDD
M(ZB-A!3XVCQEXD4\Q3/!TGBQY"E/INRO$%E]'\'HM([08-*%'BQB"ETBYAO+
MVAU:)U-88$'.ZG>OU`2W.S\%CKQ9OB]/]W[^C32J#_6C-J<V',6=KKN+9&7O
M<JX%CN"Q0W\";Z0#>,>P,>O\_>8B;/[Q-D2-1_!<E9W1F4NC84"R$,Z$B]8O
(R96ZT%1#```"
`
end

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author