Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Dotfiles on VMS (patch): msg#00157

version-control.cvs.bugs

Subject: Re: Dotfiles on VMS (patch)

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@xxxxxxxxxxxxxxx:/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@xxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation