Commit 9904c568 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Fix out-by-1 error reporting monitor name

For *OPT1,2 the FS is supposed to report the leafname. LanManFS uses strrchr() to find the dot but hadn't incremented past it when returning the pointer.

Version 2.57. Tagged as 'LanManFS-2_57'
parent e6ff7fc3
/* (2.56)
/* (2.57)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.56
#define Module_MajorVersion_CMHG 2.57
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 14 May 2016
#define Module_Date_CMHG 18 Aug 2016
#define Module_MajorVersion "2.56"
#define Module_Version 256
#define Module_MajorVersion "2.57"
#define Module_Version 257
#define Module_MinorVersion ""
#define Module_Date "14 May 2016"
#define Module_Date "18 Aug 2016"
#define Module_ApplicationDate "14-May-16"
#define Module_ApplicationDate "18-Aug-16"
#define Module_ComponentName "LanManFS"
#define Module_ComponentPath "castle/RiscOS/Sources/Networking/Omni/Protocols/LanManFS"
#define Module_FullVersion "2.56"
#define Module_HelpVersion "2.56 (14 May 2016)"
#define Module_LibraryVersionInfo "2:56"
#define Module_FullVersion "2.57"
#define Module_HelpVersion "2.57 (18 Aug 2016)"
#define Module_LibraryVersionInfo "2:57"
......@@ -1012,13 +1012,13 @@ err_t Xlt_ConvertPath ( char *name_in, char *name_out )
/* --------------------------- */
/* Gets a leaf name from a DOS name */
/* Gets a leaf name from a RISC OS name */
char *Xlt_GetRISCOSLeafName ( char *name_in )
{
char *tmp;
tmp = strrchr ( name_in, '.' );
return ( tmp == NULL ) ? name_in : tmp;
return ( tmp == NULL ) ? name_in : tmp + 1;
}
/* Directory entry conversion ================================== */
......
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