Skip to content

Commit 5592a6c

Browse files
committed
Move snprintf int64 compatibility letters into a NOT_USED block.
1 parent 5c2e68b commit 5592a6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/port/snprintf.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* causing nasty effects.
6666
**************************************************************/
6767

68-
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.15 2005/03/02 15:32:39 momjian Exp $";*/
68+
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.16 2005/03/02 23:56:53 momjian Exp $";*/
6969

7070
int snprintf(char *str, size_t count, const char *fmt,...);
7171
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)
259259
else
260260
longflag = 1;
261261
goto nextch;
262+
#ifdef NOT_USED
262263
/*
263264
* We might export this to client apps so we should
264265
* support 'qd' and 'I64d'(MinGW) also in case the
@@ -277,6 +278,7 @@ dopr(char *buffer, const char *format, va_list args, char *end)
277278
goto nextch;
278279
}
279280
break;
281+
#endif
280282
case 'u':
281283
case 'U':
282284
/* fmtnum(value,base,dosign,ljust,len,zpad,&output) */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy