Commit 18f575db authored by Ben Avison's avatar Ben Avison
Browse files

Update from John:

> Further mods to make sure that directory naming/renaming cannot attach
> the ,xxx filetyping.

Version 2.28. Tagged as 'LanManFS-2_28'
parent b89d5293
/* (2.27)
/* (2.28)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.2.
*
*/
#define Module_MajorVersion_CMHG 2.27
#define Module_MajorVersion_CMHG 2.28
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 19 Dec 2003
#define Module_Date_CMHG 06 Jan 2004
#define Module_MajorVersion "2.27"
#define Module_Version 227
#define Module_MajorVersion "2.28"
#define Module_Version 228
#define Module_MinorVersion ""
#define Module_Date "19 Dec 2003"
#define Module_Date "06 Jan 2004"
#define Module_ApplicationDate "19-Dec-03"
#define Module_ApplicationDate "06-Jan-04"
#define Module_ComponentName "LanManFS"
#define Module_ComponentPath "RiscOS/Sources/Networking/Omni/Protocols/LanManFS"
#define Module_FullVersion "2.27"
#define Module_HelpVersion "2.27 (19 Dec 2003)"
#define Module_LibraryVersionInfo "2:27"
#define Module_FullVersion "2.28"
#define Module_HelpVersion "2.28 (06 Jan 2004)"
#define Module_LibraryVersionInfo "2:28"
......@@ -725,6 +725,7 @@ _kernel_oserror *fsentry_file( int *R )
break;
case FSEntry_File_Reason_CreateDirectory:
Xlt_CnvRenameX2 ( DOSnamebuf, DOSnamebuf );
err = SMB_MkDir ( DOSnamebuf );
break;
......
......@@ -1309,10 +1309,10 @@ err_t Xlt_CnvRenameX2 ( char *src, char *dst )
// if src and dst are same, check if it should have the ,xxx appended
// if so, ensure it still is...
if(!cnvq)
{
if((strlen(dst)>4) && (dst[strlen(dst)-4] == ',')) cnvq++;
}
// if(!cnvq) // just strip...
// {
// if((strlen(dst)>4) && (dst[strlen(dst)-4] == ',')) cnvq++;
// }
if (Xlt_SplitLeafnameX2 ( dst, &RA, &nterm ) != OK) {
/* No type information - find end of string */
nterm = strchr(dst, '\0');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment