Cvs Commit: cvsnt

[email protected] Tue, 26 Jan 2016 05:24:14 +0000 (GMT)
Newsgroups gmane.comp.version-control.cvs.windows-nt.cvs
Message-ID <6aa356a701efd341@obrien>
CVSROOT:	/cvs
Module name:	cvsnt
Changes by:	[email protected]		Tue Jan 26 05:24:02 2016
On host:	ip-125-252-104-186.asianetcom.net

Directory: cvsnt/src

M client.cpp	CVSNT_BRANCH_2_8_01_3761	1.84.2.141.6.100.2.27 -> 1.84.2.141.6.100.2.28	Bug Id: 6971
M main.cpp	CVSNT_BRANCH_2_8_01_3761	1.71.2.151.6.54.2.41 -> 1.71.2.151.6.54.2.42	Bug Id: 6971

Directory: cvsnt/testcvs

M testcvs.py	CVSNT_BRANCH_2_8_01_3761	1.20.2.12.6.11.4.3 -> 1.20.2.12.6.11.4.4	Bug Id: 6971

Directory: cvsnt/testcvs/test_data

A update_sub_test.txt.1	CVSNT_BRANCH_2_8_01_3761	 -> 1.1.2.1	Bug Id: 6971

Directory: cvsnt/windows-NT

M win32.cpp	CVSNT_BRANCH_2_8_01_3761	1.72.2.150.6.44.2.39 -> 1.72.2.150.6.44.2.40	Bug Id: 6971

Directory: cvsnt/windows-NT/cvsdiag

M cvsdiag.cpp	CVSNT_BRANCH_2_8_01_3761	1.1.2.8.8.43.2.34 -> 1.1.2.8.8.43.2.35	Bug Id: 6971

Log message:
Bug 6971.  now handles argument (directory) comparison the same way as it handles creating the directory list, and also ignores case when that feature is switched on.  This 'fix' can be turned on/off with the 'PSERVER' parameter UpdateArg (DWORD on windows):
bit 0 (ie: 0 or 1) - strip_trailing_slashes
bit 1 (ie: 0 or 2) - if filenames_case_insensitive then use fnncmp

The default for UpdateArg is 3.  Switching it to 0 means the bug re-appears.

Fix includes:
- fix to client (all platforms affected)
- new setting (loaded in main) to activate/deactivate this fix
- diagnostics listing for setting
- test case (not comprehensive enough - when switched off still passes OK)