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
9b7c6ee0
Commit
9b7c6ee0
authored
Oct 02, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for Irix from Robert Bruccoleri
parent
731ea807
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
src/backend/port/snprintf.c
src/backend/port/snprintf.c
+5
-2
src/include/port/irix5.h
src/include/port/irix5.h
+1
-2
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+6
-3
No files found.
src/backend/port/snprintf.c
View file @
9b7c6ee0
...
...
@@ -48,6 +48,9 @@
# include <sys/ioctl.h>
# include <sys/param.h>
/* IRIX doesn't do 'long long' in va_arg(), so use a typedef */
typedef
long
long
long_long
;
/*
** SNPRINTF, VSNPRINT -- counted versions of printf
**
...
...
@@ -70,7 +73,7 @@
* causing nast effects.
**************************************************************/
/*static char _id[] = "$Id: snprintf.c,v 1.
7 1998/09/23 03:11:24 scrappy
Exp $";*/
/*static char _id[] = "$Id: snprintf.c,v 1.
8 1998/10/02 15:38:01 momjian
Exp $";*/
static
char
*
end
;
static
int
SnprfOverflow
;
...
...
@@ -192,7 +195,7 @@ dopr (char *buffer, const char *format, ... )
case
'd'
:
case
'D'
:
if
(
longflag
){
if
(
longlongflag
)
{
value
=
va_arg
(
args
,
long
long
);
value
=
va_arg
(
args
,
long
_
long
);
}
else
{
value
=
va_arg
(
args
,
long
);
}
...
...
src/include/port/irix5.h
View file @
9b7c6ee0
...
...
@@ -3,5 +3,4 @@
#define NO_EMPTY_STMTS
#define SYSV_DIRENT
#define HAS_TEST_AND_SET
#include <abi_mutex.h>
typedef
abilock_t
slock_t
;
typedef
unsigned
long
slock_t
;
src/include/storage/s_lock.h
View file @
9b7c6ee0
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.5
2 1998/10/02 15:23:08
momjian Exp $
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.5
3 1998/10/02 15:38:04
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -261,8 +261,11 @@ tas(slock_t *s_lock)
#if defined(__sgi)
/*
* SGI IRIX 5
* slock_t is defined as a struct abilock_t, which has a single unsigned long
* member.
* slock_t is defined as a unsigned long. We use the standard SGI
* mutex API.
*
* The following comment is left for historical reasons, but is probably
* not a good idea since the mutex ABI is supported.
*
* This stuff may be supplemented in the future with Masato Kataoka's MIPS-II
* assembly from his NECEWS SVR4 port, but we probably ought to retain this
...
...
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