Hi all,

so, here you are: all the patches (against the 3.1.6 version
downloaded from SourceForge) needed to get ht://Dig flying on VMS.
Some comments:

- I set up a top-level directory `build_vms' for almost all of the
  VMS specific files (save the Makefiles, called DESCRIP.MMS by
  default)
- I included zlib-1.1.4 and rx-1.5 under build_vms/ because I wanted
  a standalone source kit
- All the *IVP* and *PCSI* stuff is there to build/install a
  distribution kit
- I included all patches to BerkeleyDB from SleepyCat. This gets
  libdb to 2.6.4-pl10
- I set up libdb to build as a shareable image (errr... what's that
  in Unixland? - .so?)
- htcommon/wordlist.cc : The tempfile gets opened once and stays
  open for the rest of the program run (while being secured against
  opening a different one). That change alone cut run time in half!
- htdig/retriever.cc:682 : I had (almost immediately after publication
;-)
  a request from a guy wanting to index https URLs.
- htlib/vms_access.c : The VMS C RTL access() routine doesn't take into
  account all the access mechanisms of VMS, in particular access via
  privileges and via ACLs <sigh>
- htlib/configuration.cc : The VMS C RTL does cope with Unix notation
  file specs quite nicely (which is a great relief in porting). Users,
  however, prefer VMS syntax ;-)
- htlib/dictionary.cc : I identified the Dictionary::hashCode routine
  as another performance bottleneck, and thought that a bit of
  assembler would do good here. It did, but only a few percent -
  sometimes I hate the Compaq C++ optimizer...
- htlib/htwordtype.h : Compaq C++ doesn't like private static members.
- htcommon/documentdb.cc : I just noticed that the patch to is not
  necessary any more (as there are no longer sorts going on).

cu,
  Martin
--
 OpenVMS:         | Martin Vorlaender         VMS & WNT programmer
 When you KNOW    | work: [EMAIL PROTECTED]
 where you want   |       http://www.pdv-systeme.de/users/martinv/
 to go today.     | home: [EMAIL PROTECTED]

Attachment: orig_vms.diff.zip
Description: Zip compressed data

Reply via email to