[fpc-devel]Bugfixes and improvements in options.pas
Sergey Korshunoff
Sergey.Korshunoff at p5.f2666.n5020.z2.fidonet.org
Sat Jun 30 01:45:58 CEST 2001
PO> I think, current condition of +/- switches handling in command line
PO> (options.pas) in 1.1 branch is not good and somewhere buggy. A
PO> typical sample is handling of -WD+/- which is fully impossible.
PO> Cause: parsing all command characters inside of "for .. to" cycle
PO> causes to getting "+" or "-" characters as independent switches which
PO> are not supported. Somewhere this problem was partially solved using
PO> index increasing but not fully correctly because only if "-" sign
PO> would be found the index would be increased. Missing of signs after
PO> switch would also cause loss of next switch. Therefore now I tried to
PO> fix this bug and added excluding of signs directly into unsetbool
PO> function. This change let me simplify some constructions. Also I
PO> wouldadd support -WR+ / -WR- as synonims of -WR / -WN (may be, -WN
PO> switch could be excluded).
PO> All these my changes are marked by //Ozerski.
PO> Sincerely, Pavel
This is the same diff for 1.0.5 2001 jun 28:
=== Cut ===
begin 644 options.pas.dif.gz
M'XL("*R@/3L``V]P=&EO;G,N<&%S+F1I9@#56VM/V\H6_=S^BOEP)">R@^(D
MO-*FZJ6$EHJ><N$<]4B(:SGV.#$X'LMV@!S4_W[WC!_Q<SP)*91!`F+/K-F/
M-7OV/-+I=!#Q0INXP8ZG!SN!?O?F!S;1UX6+U#[J]H>]_6&OAWK=KOI6EN5L
MY3>7>L at J]KNH.Q at .!L/N7E3QXT?4&>PJ^TAFOS]^?(MH\7QB8'/A8_3#MT/\
M!3O>N3[%P;OBZ_\N;./VU+5(RX"^0A0,@]"WW6F[5//4<?!4=\YU7X_K at H"K
MVAU:VUJX!A4:H;_=`(<30IQ5W03Z'?)(,$1GQ)W:;M@>TEI8=]^]E>L@[G1?
M"*`@,;S$ON?C4*//M,##AFW9AA8;MD*+.]L/%[K#08K:KIJB1"8[\,`RB2P5
MYDLAL'L'"L40\,'5YQ at -46I)ZM+^0%54%<GL[P%S*W9-`(6?3FJBOR)I=C8R
M-@=%V-Z/R)AAXS9`MH7"&89/8`,#%$6Z17]#.[`=^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