[cvsnt-dev] patches for script_trigger.cpp and server.h

Chuck Kirschman Chuck.Kirschman at Nosp_am.bentley.com
Mon Apr 28 21:32:18 BST 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Here are the fixes for some issues we found when trying to implement a 
script.  This patch is based on the 2.5.3.2382 stable source.  I don't 
know how many of these are fixed on the tip.  There are several 
features/fixes all in one patch so the descriptions are in the order of 
the changes.  Our work was only tested with VB.  Take what you like.

Cheers
chuck

1.  Print out line and column number from the script if it fails.  Very 
convenient when creating scripts.
2.  Allow a centralized script location defined in the "script.name" 
file.  With many repositories on a single box, making a change to a 
script that must live in every CVSROOT is an administration nightmare.
3.  String was not null-terminated correctly; it was dereferencing char 
** as if it was char *
4.  Same as 3
5.  Putting 11 args into an array of only 9 elements

6.  COM says that you give a copy of strings, not the address of your 
only copy
7.  Same as 6
8.  Missing AddRef
9.  Same as 8
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cvspatch.txt
Url: http://www.cvsnt.org/pipermail/cvsnt-dev/attachments/20080428/6a352d19/attachment.txt 


More information about the cvsnt-dev mailing list