mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Move snprintf int64 compatibility letters into a NOT_USED block.
This commit is contained in:
parent
5c2e68ba6b
commit
5592a6cf46
@ -65,7 +65,7 @@
|
|||||||
* causing nasty effects.
|
* causing nasty effects.
|
||||||
**************************************************************/
|
**************************************************************/
|
||||||
|
|
||||||
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.15 2005/03/02 15:32:39 momjian Exp $";*/
|
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.16 2005/03/02 23:56:53 momjian Exp $";*/
|
||||||
|
|
||||||
int snprintf(char *str, size_t count, const char *fmt,...);
|
int snprintf(char *str, size_t count, const char *fmt,...);
|
||||||
int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
|
int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
|
||||||
@ -259,6 +259,7 @@ dopr(char *buffer, const char *format, va_list args, char *end)
|
|||||||
else
|
else
|
||||||
longflag = 1;
|
longflag = 1;
|
||||||
goto nextch;
|
goto nextch;
|
||||||
|
#ifdef NOT_USED
|
||||||
/*
|
/*
|
||||||
* We might export this to client apps so we should
|
* We might export this to client apps so we should
|
||||||
* support 'qd' and 'I64d'(MinGW) also in case the
|
* support 'qd' and 'I64d'(MinGW) also in case the
|
||||||
@ -277,6 +278,7 @@ dopr(char *buffer, const char *format, va_list args, char *end)
|
|||||||
goto nextch;
|
goto nextch;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case 'u':
|
case 'u':
|
||||||
case 'U':
|
case 'U':
|
||||||
/* fmtnum(value,base,dosign,ljust,len,zpad,&output) */
|
/* fmtnum(value,base,dosign,ljust,len,zpad,&output) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user