> No, it is still correct. The version function is there and it
> returns the compiled in string from version.h.
> But take a look at version.c please. I think it should use
> memcpy() or strncpy() instead of strcpy(). As it is now it
> writes the null byte after the palloc'ed area.
Yes, thanks. Fixed using StrNCpy().
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 1998-10-09 16:43:59|
|Subject: Re: [PATCHES] PL patches (one more)|
|Previous:||From: Tom Lane||Date: 1998-10-09 15:01:29|
|Subject: Re: [HACKERS] Open 6.4 items |