pgsql-server: Use sizeof() rather than strlen() in array size.

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Use sizeof() rather than strlen() in array size.
Date: 2004-06-11 17:09:14
Message-ID: 20040611170914.4278AD1B1C9@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use sizeof() rather than strlen() in array size.

Modified Files:
--------------
pgsql-server/src/port:
path.c (r1.19 -> r1.20)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/port/path.c.diff?r1=1.19&r2=1.20)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-06-11 17:20:39 pgsql-server: StrategyDirtyBufferList wasn't being careful to honor
Previous Message Tom Lane 2004-06-11 16:43:25 pgsql-server: Add some code to Assert that when we release pin on a