[Cvsnt] cvsnt Linux version
Anthony Williams
anthwil at nortelnetworks.com
Mon Feb 25 10:30:39 GMT 2002
"Tony Hoyle" <tmh at nothing-on.tv> wrote in message
news:3c7646d9.180464015 at tony-home...
> I've done a backport of cvsnt to Linux (hopefully it will work with
> other Unixes as well but I can't test that..), and also a debian
> package (I'll do an RPM when I work out how & can get access
> to a redhat system).
>
> I'l try to keep this up to date with releases/bug fixes. The unix
> specific bits aren't well tested - pserver works... I thought I'd
> release it rather than spend two weeks getting all the little bugs out
> first (so I can keep this release within the beta cycle, since the NT
> version is just about ready for release).
>
> Hopefully any fixes needed will be minor, so I can release both Unix &
> NT versions on the same day. Feedback & bug reports are of course
> welcomed.
It doesn't compile on Solaris as-is. (./configure; make)
Firstly, _XOPEN_SOURCE is defined, which prevents timeval being defined, so
getrusage doesn't work. The solution is to also define __EXTENSIONS__.
Secondly, src/run.c has "int" as the return type for piped_child, whereas
src/cvs.h has it as "pid_t", so src/run.c needs to be fixed (I presume)
Next, protocols/common.c uses struct addrinfo and the getaddrinfo function,
which is Windows-specific. I am therfore surprised it works on Linux.
Anyway, this is not a two-minute fix, so I'll leave it to you....
Anthony
--
Anthony Williams
Software Engineer, Nortel Networks Optical Components Ltd
The opinions expressed in this message are not necessarily those of my
employer
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list