Patch applied. The only reason I used strlen is because sizeof a string is one more than the strlen().
--------------------------------------------------------------------------- Zeugswetter Andreas SB SD wrote: > > strlen inside variable declaration is not portable C (AIX): > > char env_path[MAXPGPATH + strlen("PGLOCALEDIR=")]; > > use sizeof instead. > > Please apply to current > > Andreas Content-Description: path.c.locale.patch [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly