Commit b5811b3a authored by John Ballance's avatar John Ballance
Browse files

ensure short dosfs name cannot contain a space

Detail:
    bug fix reported from beta release of 0.81.
Admin:
    castle testes.. castle IP


Version 0.82. Tagged as 'DOSFS-0_82'
parent d1a10f90
/* (0.81)
/* (0.82)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 0.81
#define Module_MajorVersion_CMHG 0.82
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 08 Oct 2004
#define Module_Date_CMHG 25 Oct 2004
#define Module_MajorVersion "0.81"
#define Module_Version 81
#define Module_MajorVersion "0.82"
#define Module_Version 82
#define Module_MinorVersion ""
#define Module_Date "08 Oct 2004"
#define Module_Date "25 Oct 2004"
#define Module_ApplicationDate "08-Oct-04"
#define Module_ApplicationDate "25-Oct-04"
#define Module_ComponentName "DOSFS"
#define Module_ComponentPath "RiscOS/Sources/FileSys/ImageFS/DOSFS"
#define Module_FullVersion "0.81"
#define Module_HelpVersion "0.81 (08 Oct 2004)"
#define Module_LibraryVersionInfo "0:81"
#define Module_FullVersion "0.82"
#define Module_HelpVersion "0.82 (25 Oct 2004)"
#define Module_LibraryVersionInfo "0:82"
......@@ -97,7 +97,7 @@ int shorten_lfn(char * longfname, char * shortname, char * shortnamebuff, DIR_i
if(i>8) break ; // too many chars
}
dprintf(("","shorten_lfn: check -%x-%c- toupper(c) -%c-\n",c,c,toupper(c)));
if(c && ((c=='.')||(c==toupper(c))))
if(c && ((c=='.')||((c==toupper(c)) && (c!=' '))))
{ /* copy over */
shortnamebuff[j]=c;
dprintf(("","shorten_lfn: copied -%c-\n",c));
......
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