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

Commit573f450

Browse files
author
Michael Meskes
committed
Some uppercase type definitions were left.
1 parent0f310ee commit573f450

File tree

3 files changed

+31
-21
lines changed

3 files changed

+31
-21
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,16 @@ Tue Aug 26 18:06:45 CEST 2003
16121612
Mon Sep 1 14:33:10 CEST 2003
16131613

16141614
- Fixed two bugs in numeric library.
1615+
1616+
Tue Sep 9 12:13:51 CEST 2003
1617+
1618+
- Added Dave patch for Informix handling of numeric/int conversion.
1619+
- Changed all new datatypes to lowercase.
1620+
- Fixed rounding bug in numerical types.
1621+
1622+
Wed Sep 10 20:01:49 CEST 2003
1623+
1624+
- Some files still had uppercase typenames
16151625
- Set ecpg version to 3.0.0
16161626
- Set ecpg library to 4.0.0
16171627
- Set pgtypes library to 1.0.0

‎src/interfaces/ecpg/compatlib/informix.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ dectolong(decimal * np, long *lngp)
426426

427427
/* Now the date functions */
428428
int
429-
rdatestr(Dated,char*str)
429+
rdatestr(dated,char*str)
430430
{
431431
char*tmp=PGTYPESdate_to_asc(d);
432432

@@ -441,9 +441,9 @@ rdatestr(Date d, char *str)
441441
}
442442

443443
int
444-
rstrdate(char*str,Date*d)
444+
rstrdate(char*str,date*d)
445445
{
446-
Datedat=PGTYPESdate_from_asc(str,NULL);
446+
datedat=PGTYPESdate_from_asc(str,NULL);
447447

448448
if (errno!=PGTYPES_DATE_BAD_DATE&&dat==0)
449449
return-1218;
@@ -453,14 +453,14 @@ rstrdate(char *str, Date * d)
453453
}
454454

455455
void
456-
rtoday(Date*d)
456+
rtoday(date*d)
457457
{
458458
PGTYPESdate_today(d);
459459
return;
460460
}
461461

462462
int
463-
rjulmdy(Dated,shortmdy[3])
463+
rjulmdy(dated,shortmdy[3])
464464
{
465465
intmdy_int[3];
466466

@@ -472,7 +472,7 @@ rjulmdy(Date d, short mdy[3])
472472
}
473473

474474
int
475-
rdefmtdate(Date*d,char*fmt,char*str)
475+
rdefmtdate(date*d,char*fmt,char*str)
476476
{
477477
/* TODO: take care of DBCENTURY environment variable */
478478
/* PGSQL functions allow all centuries */
@@ -497,7 +497,7 @@ rdefmtdate(Date * d, char *fmt, char *str)
497497
}
498498

499499
int
500-
rfmtdate(Dated,char*fmt,char*str)
500+
rfmtdate(dated,char*fmt,char*str)
501501
{
502502
if (PGTYPESdate_fmt_asc(d,fmt,str)==0)
503503
return0;
@@ -509,7 +509,7 @@ rfmtdate(Date d, char *fmt, char *str)
509509
}
510510

511511
int
512-
rmdyjul(shortmdy[3],Date*d)
512+
rmdyjul(shortmdy[3],date*d)
513513
{
514514
intmdy_int[3];
515515

@@ -521,7 +521,7 @@ rmdyjul(short mdy[3], Date * d)
521521
}
522522

523523
int
524-
rdayofweek(Dated)
524+
rdayofweek(dated)
525525
{
526526
return (PGTYPESdate_dayofweek(d));
527527
}

‎src/interfaces/ecpg/include/ecpg_informix.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88

99
#defineSQLNOTFOUND 100
1010

11-
#ifndefDate
12-
#defineDate long
13-
#endif/* !Date */
11+
#ifndefdate
12+
#definedate long
13+
#endif/* !date */
1414

15-
externintrdatestr(Date,char*);
16-
externvoidrtoday(Date*);
17-
externintrjulmdy(Date,short*);
18-
externintrdefmtdate(Date*,char*,char*);
19-
externintrfmtdate(Date,char*,char*);
20-
externintrmdyjul(short*,Date*);
21-
externintrstrdate(char*,Date*);
22-
externintrdayofweek(Date);
15+
externintrdatestr(date,char*);
16+
externvoidrtoday(date*);
17+
externintrjulmdy(date,short*);
18+
externintrdefmtdate(date*,char*,char*);
19+
externintrfmtdate(date,char*,char*);
20+
externintrmdyjul(short*,date*);
21+
externintrstrdate(char*,date*);
22+
externintrdayofweek(date);
2323

2424
externintrfmtlong(long,char*,char*);
2525
externintrgetmsg(int,char*,int);
@@ -28,7 +28,7 @@ extern intrsetnull(int, char *);
2828
externintrtypalign(int,int);
2929
externintrtypmsize(int,int);
3030
externintrtypwidth(int,int);
31-
externvoidrupshift(char*);
31+
externvoidrupshift(char*);
3232

3333
externintbyleng(char*,int);
3434
externvoidldchar(char*,int,char*);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp