bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different CVS_SERVER for different hosts


From: Mark D. Baushke
Subject: Re: different CVS_SERVER for different hosts
Date: Thu, 30 Oct 2003 08:59:51 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Edwards <address@hidden> writes:

> "Derek Robert Price" <address@hidden> wrote
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Paul Edwards wrote:
> >
> > |>If you have any other functions that are not covered, please let us know.
> > |
> > |
> > |E.g. fork() is provided?  And if it is, it will work on any
> > |C89 compiler?  Borland C++ 3.1 for DOS is 100%
> > |ISO-conforming.  So is SAS/C for MVS (OS/390).
> >
> > These compilers don't provide access to system functions?
> 
> There is no such system function on DOS or MVS.

MVS has POSIX and USS (Unix System Services).
 
> Ergo, any application relying on fork() being available is a
> long way from being portable.
> 
> BFN.  Paul.

The cvs 1.11.9 sources already have a call to either vfork() or fork()
in them (c.f., src/run.c). The solution in the past has been to provide
a windows-NT/run.c file to implement the same behavior where possible. I
do not see that particular API needing to change, but even if it does,
it should be possible to still work on windows-NT for a while yet.

In the worst case, folks could use a program to de-ansify the cvs 1.12.x
sources such as the unprotoize program.

That said, other folks out there are developing POSIX.3 support for
windows boxen (cygwin is one such example). 

I believe I have even seen IBM mentioning OpenEdition MVS POSIX.1
compliance in various press releases. 

I would hope that if our directions are not good, the CVS/MVS folks over
at http://dccmn.com/cvsmvs/ might mention this fact to us. However, they
have the following blurb as the first paragraph on their web page:

    Believe it or not, Big Iron Mainframes are quickly coming into the
    21st century. And one of these advances are due to the introduction
    of POSIX services and Unix System Services (USS) to the MVS
    operating environment. Now, many of the GNU software packages you've
    enjoyed in the Linux and Unix world are now available on MVS.

For those systems that do not enjoy the ability to run a cvs client, I
suppose they may have to fall back on sharing filesystems with systems
that can do the checkout.

        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/oUOH3x41pRYZE/gRAghRAJ44WuItv+BYBhwtE1Xy07D5Xn/c8QCg4ic9
rgCU3qppXmKXCzue6TV5+ho=
=GFb9
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]