Re: pgsql: Clarify coding of .exe patch

From: Neil Conway <neilc(at)samurai(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Clarify coding of .exe patch
Date: 2004-11-01 04:58:28
Message-ID: 1099285107.31449.149.camel@localhost.localdomain
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Mon, 2004-11-01 at 15:47, Bruce Momjian wrote:
> Oh, I didn't realize they had the dot in there. Let me add "-1".
> Thanks. Attached.

I wonder if it wouldn't be cleaner to #define SIZE_OF_EXE or similar
that includes the "-1". Alternatively, we could just use strlen(): I
believe a decent compiler should be able to evaluate strlen("str") at
compile-time.

-Neil

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-01 05:01:45 Re: pgsql: Clarify coding of .exe patch
Previous Message Bruce Momjian 2004-11-01 04:47:07 Re: pgsql: Clarify coding of .exe patch