Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
cb633190
Commit
cb633190
authored
Dec 24, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for snprintf and long long unsigned.
parent
f7bc3564
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/backend/port/snprintf.c
src/backend/port/snprintf.c
+3
-2
No files found.
src/backend/port/snprintf.c
View file @
cb633190
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
/* IRIX doesn't do 'long long' in va_arg(), so use a typedef */
/* IRIX doesn't do 'long long' in va_arg(), so use a typedef */
#ifdef HAVE_LONG_LONG_INT_64
#ifdef HAVE_LONG_LONG_INT_64
typedef
long
long
long_long
;
typedef
long
long
long_long
;
typedef
unsigned
long
long
ulong_long
;
#endif
#endif
/*
/*
...
@@ -72,7 +73,7 @@ typedef long long long_long;
...
@@ -72,7 +73,7 @@ typedef long long long_long;
* causing nast effects.
* causing nast effects.
**************************************************************/
**************************************************************/
/*static char _id[] = "$Id: snprintf.c,v 1.1
4 1998/12/18 07:08:0
0 momjian Exp $";*/
/*static char _id[] = "$Id: snprintf.c,v 1.1
5 1998/12/24 05:28:5
0 momjian Exp $";*/
static
char
*
end
;
static
char
*
end
;
static
int
SnprfOverflow
;
static
int
SnprfOverflow
;
...
@@ -350,7 +351,7 @@ int base,
...
@@ -350,7 +351,7 @@ int base,
{
{
int
signvalue
=
0
;
int
signvalue
=
0
;
#ifdef HAVE_LONG_LONG_INT_64
#ifdef HAVE_LONG_LONG_INT_64
u
nsigned
long_long
uvalue
;
ulong_long
uvalue
;
#else
#else
unsigned
long
uvalue
;
unsigned
long
uvalue
;
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment