bug-cvs
[Top][All Lists]
Advanced

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

Re: Dotfiles on VMS (patch)


From: Derek Robert Price
Subject: Re: Dotfiles on VMS (patch)
Date: Thu, 23 May 2002 11:15:31 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020516

Karsten Spang wrote:


Hello Derek

> Thanks for the patch.  I checked in a fix, using your advice, but I
> abstracted a strcat_filename_onto_homedir function rather than switching
> at each location.  It passes the test suite on UNIX, but I don't have a
> VMS machine to run tests on.  Please let me know if you have any
> problems with my fix.

I checked out the 1.11.2 sources, and merged in your changes, as I was
not able to compile the development sources on VMS. To be exact, I did:

#!/bin/sh
rm -rf ccvs
cvs -z9 -d :pserver:guest@cvs.cvshome.org:/cvs checkout -rcvs1-11-2 ccvs
cd ccvs
cd vms
cvs update -j1.21 -j1.22 config.h
cvs update -j1.12 -j1.13 filesubr.c
cd ../src
cvs update -j1.29 -j1.30 wrapper.c
cvs update -j1.68 -j1.69 login.c
cvs update -j1.37 -j1.38 ignore.c
cvs update -j1.55 -j1.56 filesubr.c
cvs update -j1.20 -j1.21 cvsrc.c
cvs update -j1.229 -j1.230 cvs.h
cd ..
cvs diff -c

on a Unix box, and moved the result to VMS.

Your fix seems to work as intended. My only "complaint" is that your
function is misnamed, the word "home" being unnecessary.

I have a few more VMS "problems". We have just upgraded to latest VMS
(7.3) and Compaq C compiler (6.5), and it seems that Compaq have
provided a few more Unix compatibility functions, most notably
getpagesize and utime. I had to make changes to the vms/build_vms.com
file and vms/config.h to make CVS compile and link. I cannot really
provide a patch for this, as removing these functions will break CVS
on earlier version of VMS.

Med venlig hilsen / Best regards
Dan Net A/S

Karsten Spang
Systemudvikler

=====================================================
Email from Dan Net A/S
Advanced solutions for Data Clearing, e- & m-business

Dan Net A/S             Tel:    +45 4582 1600
Blokken 9               Direct: +45 4590 2189
DK-3460 Birkeroed       Fax:    +45 4582 1644
Denmark
http://www.dannet.com
=====================================================


I suppose #ifndef utime and/or ifndef #getpagesize switches are too much to hope for? Perhaps a short script that generates config.h based on the functions existance, a la autoconf?

Derek

--
               *8^)

Email: derek@2-wit.com
Public key available from www.keyserver.net - Key ID 5ECF1609
Fingerprint 511D DCD9 04CE 48A9 CC07  A421 BFBF 5CC2 56A6 AB0E

Get CVS support at http://2-wit.com
--
Life in a vacuum sucks.






reply via email to

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