Re: pgsql: Clarify coding of .exe patch - Mailing list pgsql-committers

From Neil Conway
Subject Re: pgsql: Clarify coding of .exe patch
Date
Msg-id 1099285107.31449.149.camel@localhost.localdomain
Whole thread Raw
In response to Re: pgsql: Clarify coding of .exe patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pgsql: Clarify coding of .exe patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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



pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: Clarify coding of .exe patch
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql: Clarify coding of .exe patch