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.
Unfortunately, even the ZIPped version of the diff file is 60k,
which prohibits appending it to a mail message, so I put it up for
anonymous FTP download on ftp.pdv-systeme.de in
vms/htdig-3_1_6-orig-vms_diff.zip

Some comments:

- I set up a top-level directory `build_vms' for almost all of the
  VMS specific files (except 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 BerkeleyDB patches 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 htdig 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 ;-) So I convert VMS file specs.
- 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 this patch to is not
  necessary any more (as there are no longer any sorting 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]


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to