Subject | RE: [IB-Java] Interclient 20 changes |
---|---|
Author | Ken Richard |
Post date | 2001-02-06T18:51:43Z |
There were a few compile problems with msvc:
1. socklet_t is not defined in the msvc headers and the last argument to
accept is prototypes as a int*.
Index: NetTCP.cpp
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/NetTCP.cpp,v
retrieving revision 1.2
diff -r1.2 NetTCP.cpp
148c148
< socklen_t clilen;
---
< tmpSockfd = accept (sockfd, (struct sockaddr *) &tcpCliAddr, &clilen);
---
2. Msvc does not allow static initializers within the class definition.
Index: IB_Catalog.h
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/IB_Catalog.h,v
retrieving revision 1.2
diff -r1.2 IB_Catalog.h
279c279,280
< static const char* const spaces = " ";
---
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/IB_Catalog.cpp,v
retrieving revision 1.2
diff -r1.2 IB_Catalog.cpp
82a83,85
try a compile with your changes. I should get a chance sometime this week
to run some stuff through it.
-Ken
-----Original Message-----
From: David Jencks [mailto:davidjencks@...]
Sent: Tuesday, February 06, 2001 12:25 PM
To: firebird-devel@...
Cc: ib-java@yahoogroups.com
Subject: [IB-Java] Interclient 20 changes
(sorry about the previous blank message)
Hi!
I have (I think) after waiting a week for CVS access and many struggles
with CVS contributed an ant build script and many changes to
DatabaseMetaData.
The ant build script can be used to build interclient, interserver (gcc) or
both. ( on linux, rh7). You may need to adjust some directory specs to get
output where you want. If you haven't tried ant, do so now.
(http://jakarta.apache.org/ant/index.html)
The changes to DatabaseMetaData make getTables work reliably and make
methods taking wildcards in parameters accept escaped wildcards properly.
I can only build/test this on linux, I don't know if these changes break
windows/other os versions. If you can test.. please do so.
***********
CVS problem.
I am having a big prblem with CVS, any advice/help would be greatly
appreciated. I connect with ssh, and after every command it asks me for my
password. After I enter it, cvs says
Could not chdir to home directory /home/users/d_jencks No such file or
directory
I think as a result of this I can only commit one file at a time. Any
ideas? I created a /home/users/d_jencks directory on my machine, it didn't
help ( my local username is david, not d_jencks)
**********
After the cvs problem is sorted out I will add my ant based sql tool that
can be used for regression testing.
Thanks
David Jencks
To unsubscribe from this group, send an email to:
IB-Java-unsubscribe@egroups.com
1. socklet_t is not defined in the msvc headers and the last argument to
accept is prototypes as a int*.
Index: NetTCP.cpp
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/NetTCP.cpp,v
retrieving revision 1.2
diff -r1.2 NetTCP.cpp
148c148
< socklen_t clilen;
---
> size_t clilen;171c171
< tmpSockfd = accept (sockfd, (struct sockaddr *) &tcpCliAddr, &clilen);
---
> tmpSockfd = accept (sockfd, (struct sockaddr *) &tcpCliAddr,(int*)&clilen);
2. Msvc does not allow static initializers within the class definition.
Index: IB_Catalog.h
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/IB_Catalog.h,v
retrieving revision 1.2
diff -r1.2 IB_Catalog.h
279c279,280
< static const char* const spaces = " ";
---
> //ken richard 2-6-2001Index: IB_Catalog.cpp
> static const char* const spaces;
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/IB_Catalog.cpp,v
retrieving revision 1.2
diff -r1.2 IB_Catalog.cpp
82a83,85
> const char* constI didn't get to run anything against the server on Win32 - but I wanted to
> IB_Catalog::spaces = " ";
>
try a compile with your changes. I should get a chance sometime this week
to run some stuff through it.
-Ken
-----Original Message-----
From: David Jencks [mailto:davidjencks@...]
Sent: Tuesday, February 06, 2001 12:25 PM
To: firebird-devel@...
Cc: ib-java@yahoogroups.com
Subject: [IB-Java] Interclient 20 changes
(sorry about the previous blank message)
Hi!
I have (I think) after waiting a week for CVS access and many struggles
with CVS contributed an ant build script and many changes to
DatabaseMetaData.
The ant build script can be used to build interclient, interserver (gcc) or
both. ( on linux, rh7). You may need to adjust some directory specs to get
output where you want. If you haven't tried ant, do so now.
(http://jakarta.apache.org/ant/index.html)
The changes to DatabaseMetaData make getTables work reliably and make
methods taking wildcards in parameters accept escaped wildcards properly.
I can only build/test this on linux, I don't know if these changes break
windows/other os versions. If you can test.. please do so.
***********
CVS problem.
I am having a big prblem with CVS, any advice/help would be greatly
appreciated. I connect with ssh, and after every command it asks me for my
password. After I enter it, cvs says
Could not chdir to home directory /home/users/d_jencks No such file or
directory
I think as a result of this I can only commit one file at a time. Any
ideas? I created a /home/users/d_jencks directory on my machine, it didn't
help ( my local username is david, not d_jencks)
**********
After the cvs problem is sorted out I will add my ant based sql tool that
can be used for regression testing.
Thanks
David Jencks
To unsubscribe from this group, send an email to:
IB-Java-unsubscribe@egroups.com