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

Commit7e684fa

Browse files
author
Michael Meskes
committed
Fixed incorrect include and another typo. Sorry, the include did not create a warning/error/problem on my machine, so I didn't notice it.
1 parentbcfeca5 commit7e684fa

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,10 @@ Wed May 14 13:05:49 CEST 2003
14141414
- Added more compatibility functions.
14151415
- Accept CPP defines for type definitions.
14161416
- Do not parse system include files automatically for Informix mode
1417+
1418+
Fri May 16 11:45:50 CEST 2003
1419+
1420+
- Fixed include in pgtypeslib to not include c.h
14171421
- Set ecpg version to 2.12.0.
14181422
- Set ecpg library to 3.4.2.
14191423
- Set pgtypes library to 1.0.0

‎src/interfaces/ecpg/pgtypeslib/numeric.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include<errno.h>
77
#include<stdlib.h>
88

9-
#include"c.h"
9+
#include"postgres_fe.h"
1010
#include"extern.h"
1111
#include"pgtypes_error.h"
1212

‎src/interfaces/ecpg/preproc/type.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ ECPGdump_a_simple(FILE *o, const char *name, enum ECPGttype type,
314314
* bounds
315315
*/
316316
if (((atoi(arrsize)>0)||
317-
(atoi(arrsize)==0)&&strcmp(arrsize,"0")!=0)&&
317+
(atoi(arrsize)==0&&strcmp(arrsize,"0")!=0))&&
318318
siz==NULL)
319319
sprintf(variable,"(%s%s)",prefix ?prefix :"",name);
320320
else
@@ -380,7 +380,7 @@ ECPGdump_a_simple(FILE *o, const char *name, enum ECPGttype type,
380380
* bounds
381381
*/
382382
if (((atoi(arrsize)>0)||
383-
(atoi(arrsize)==0)&&strcmp(arrsize,"0")!=0)&&
383+
(atoi(arrsize)==0&&strcmp(arrsize,"0")!=0))&&
384384
siz==NULL)
385385
sprintf(variable,"(%s%s)",prefix ?prefix :"",name);
386386
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp