View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd/src/DQSDTools
In directory sc8-pr-cvs1:/tmp/cvs-serv19307/src/DQSDTools
Modified Files:
Launcher.cpp
Log Message:
added more bad extensions that are disallowed from being renamed from/to
Index: Launcher.cpp
===================================================================
RCS file: /cvsroot/dqsd/dqsd/src/DQSDTools/Launcher.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** Launcher.cpp 29 Jun 2003 22:19:05 -0000 1.40
--- Launcher.cpp 30 Jun 2003 16:01:08 -0000 1.41
***************
*** 769,773 ****
// Get the full from pathname after applying some defaults
! TCHAR szFromFilename[ _MAX_PATH ];
hr = GetFilename( W2CT( bstrFromFilename ), szFromFilename );
if ( FAILED( hr ) )
--- 769,773 ----
// Get the full from pathname after applying some defaults
! TCHAR szFromFilename[ _MAX_PATH + 1];
hr = GetFilename( W2CT( bstrFromFilename ), szFromFilename );
if ( FAILED( hr ) )
***************
*** 787,791 ****
// Make sure it's extension is not one of the bad extensions
! TCHAR *szBadExtensions = _T(".exe;.dll;.bat;.cmd");
if (IsFileExtension(szFromFilename, szBadExtensions))
{
--- 787,791 ----
// Make sure it's extension is not one of the bad extensions
! TCHAR *szBadExtensions =
_T(".386;.bat;.cmd;.com;.cpl;.dll;.drv;.eml;.exe;.hta;.js;.jse;.lnk;.mht;.mhtm;.mhtml;.msi;.ocx;.ovl;.ovr;.pif;.reg;.scr;.sct;.shb;.shs;.sys;.vbs;.vbx;.vxd;.wsc;.wsf;.wsh");
if (IsFileExtension(szFromFilename, szBadExtensions))
{
***************
*** 810,814 ****
// Get the full to pathname after applying some defaults
! TCHAR szToFilename[ _MAX_PATH ];
hr = GetFilename( W2CT( bstrToFilename ), szToFilename );
if ( FAILED( hr ) )
--- 810,814 ----
// Get the full to pathname after applying some defaults
! TCHAR szToFilename[ _MAX_PATH + 1 ];
hr = GetFilename( W2CT( bstrToFilename ), szToFilename );
if ( FAILED( hr ) )
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/