]> granicus.if.org Git - postgresql/commit
c.h:
authorVadim B. Mikheev <vadim4o@yahoo.com>
Mon, 27 Oct 1997 12:07:13 +0000 (12:07 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Mon, 27 Oct 1997 12:07:13 +0000 (12:07 +0000)
commit6855820e8f13d798f271dc1498cb56ceb48dc521
tree7db4d7f78f5634e75f4e5643a44e141cc91378cc
parent9b3d93293adde8f98f75886431202b636ceab004
c.h:
#define StrNCpy(dst,src,len)    \
(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' : \
NULL,(void)(dst))
     ^^^^^^ - to avoid "value computed is not used" from gcc
in ma-a-any places (should to fix thouse places instead, but ...
time)

config.h.in:
/*
 * TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
 * transaction block after this query is done.
 */
#define TBL_FREE_CMD_MEMORY
- this is default now.
src/include/c.h
src/include/config.h.in