For what it's worth, gpre was my very first C program in 1984.  It was 
written on a 16 bit Unix running on a DEC Pro/350 (a pdp-11).  It's 
coming up on its 30th birthday next September, so be kind to it.  It's 
probably among the oldest pieces of working software on the planet.

On 12/5/2013 3:28 AM, Alex Peshkoff wrote:
> On 12/05/13 00:25, Damyan Ivanov wrote:
>
>> Already done. See
>> http://patch-tracker.debian.org/patch/series/view/firebird2.5/2.5.2.26540.ds4-8/out/hardening.patch
>>
> Damyan, I dislike solution for gpre in this patch. In very many places
> printa() is used to output strings - but in a few places it's replaced
> after your patch with macro PUTSAT(). I agree it works but it's not good
> style to have 2 different independent ways to do something in the program.
>
> It's much better to use
>       printa(pos, "%s", line);
> instead.
> Not to mention we try to avoid preprocessor where possible and even from
> this POV adding new macro is bad idea.
>
> A.
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to