Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb60c57d

Browse files
committed
Apply patches for QNX from Maurizio
1 parenta1c68b4 commitb60c57d

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

‎src/backend/port/qnx4/sem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/sem.c,v 1.3 2000/04/12 17:15:30 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/sem.c,v 1.4 2001/02/02 18:21:58 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,7 +26,7 @@
2626

2727

2828
#defineSETMAX((MAXBACKENDS + PROC_NSEMS_PER_SET - 1) / PROC_NSEMS_PER_SET)
29-
#defineSEMMAX(PROC_NSEMS_PER_SET)
29+
#defineSEMMAX(PROC_NSEMS_PER_SET+1)
3030
#defineOPMAX8
3131

3232
#defineMODE0700

‎src/include/storage/s_lock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.86 2001/01/24 19:43:28 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.87 2001/02/02 18:21:59 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -112,7 +112,7 @@ extern void s_lock_sleep(unsigned spins, int microsec,
112112
*/
113113

114114

115-
#if defined(__i386__)
115+
#if defined(__i386__)&& !defined(__QNX__)
116116
#defineTAS(lock) tas(lock)
117117

118118
static __inline__int

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.73 2001/01/24 19:43:29 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.74 2001/02/02 18:21:59 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -35,6 +35,11 @@
3535
#undef yywrap
3636
#endif/* yywrap*/
3737

38+
#ifdef __QNX__
39+
/* For some reason, QNX needs this, bjm 2001-02-02 */
40+
#defineECHO (void) fwrite( yytext, yyleng,1, yyout )
41+
#endif
42+
3843
#defineYY_NO_UNPUT
3944

4045
extern YYSTYPE yylval;

‎src/interfaces/python/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

2-
PyGreSQL -v2.5: PostgreSQL module for Python
2+
PyGreSQL -v3.1: PostgreSQL module for Python
33
==============================================
44

55
0. Copyright notice
66
===================
77

8-
PyGreSQL, version2.5
8+
PyGreSQL, version3.1
99
A Python interface for PostgreSQL database.
1010
Written by D'Arcy J.M. Cain, darcy@druid.net<BR>
1111
Based heavily on code written by Pascal Andre, andre@chimay.via.ecp.fr.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp