Subject RE: [IB-Java] Interclient 20 changes
Author Ken Richard
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
< socklen_t clilen;
> size_t clilen;
< tmpSockfd = accept (sockfd, (struct sockaddr *) &tcpCliAddr, &clilen);
> tmpSockfd = accept (sockfd, (struct sockaddr *) &tcpCliAddr,

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
< static const char* const spaces = " ";
> //ken richard 2-6-2001
> static const char* const spaces;

Index: IB_Catalog.cpp
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/IB_Catalog.cpp,v
retrieving revision 1.2
diff -r1.2 IB_Catalog.cpp
> const char* const
> IB_Catalog::spaces = " ";

I didn't get to run anything against the server on Win32 - but I wanted to
try a compile with your changes. I should get a chance sometime this week
to run some stuff through it.


-----Original Message-----
From: David Jencks [mailto:davidjencks@...]
Sent: Tuesday, February 06, 2001 12:25 PM
To: firebird-devel@...
Subject: [IB-Java] Interclient 20 changes

(sorry about the previous blank message)


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

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.

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

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.

David Jencks

To unsubscribe from this group, send an email to: