Commit 6073da33 authored by Dan Ellis's avatar Dan Ellis
Browse files

Single instruction bugfix.

Where there is more than one stream open on a device the process
of doing a directory listing corrupts the attribute flags due to a
MOVS r3, r4 where the routine later needed to use r3.

Version 0.62. Tagged as 'DeviceFS-0_62'
parent 8eb9b69d
; ;
; This file is automatically maintained by srccommit, do not edit manually. ; This file is automatically maintained by srccommit, do not edit manually.
; Last processed by srccommit version: 1.62. ; Last processed by srccommit version: 1.68.
; ;
GBLS Module_MajorVersion GBLS Module_MajorVersion
GBLA Module_Version GBLA Module_Version
GBLS Module_MinorVersion GBLS Module_MinorVersion
GBLS Module_Date GBLS Module_Date
GBLS Module_FullVersion GBLS Module_FullVersion
GBLS Module_ApplicationDate2 GBLS Module_ApplicationDate
GBLS Module_ApplicationDate4
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "0.61" Module_MajorVersion SETS "0.62"
Module_Version SETA 61 Module_Version SETA 62
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "21 Feb 2002" Module_Date SETS "26 Nov 2002"
Module_ApplicationDate2 SETS "21-Feb-02" Module_ApplicationDate SETS "26-Nov-02"
Module_ApplicationDate4 SETS "21-Feb-2002"
Module_ComponentName SETS "DeviceFS" Module_ComponentName SETS "DeviceFS"
Module_ComponentPath SETS "RiscOS/Sources/HWSupport/DeviceFS" Module_ComponentPath SETS "RiscOS/Sources/HWSupport/DeviceFS"
Module_FullVersion SETS "0.61" Module_FullVersion SETS "0.62"
Module_HelpVersion SETS "0.61 (21 Feb 2002)" Module_HelpVersion SETS "0.62 (26 Nov 2002)"
END END
/* (0.61) /* (0.62)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.62. * Last processed by srccommit version: 1.68.
* *
*/ */
#define Module_MajorVersion_CMHG 0.61 #define Module_MajorVersion_CMHG 0.62
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 21 Feb 2002 #define Module_Date_CMHG 26 Nov 2002
#define Module_MajorVersion "0.61" #define Module_MajorVersion "0.62"
#define Module_Version 61 #define Module_Version 62
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "21 Feb 2002" #define Module_Date "26 Nov 2002"
#define Module_ApplicationDate2 "21-Feb-02" #define Module_ApplicationDate "26-Nov-02"
#define Module_ApplicationDate4 "21-Feb-2002"
#define Module_ComponentName "DeviceFS" #define Module_ComponentName "DeviceFS"
#define Module_ComponentPath "RiscOS/Sources/HWSupport/DeviceFS" #define Module_ComponentPath "RiscOS/Sources/HWSupport/DeviceFS"
#define Module_FullVersion "0.61" #define Module_FullVersion "0.62"
#define Module_HelpVersion "0.61 (21 Feb 2002)" #define Module_HelpVersion "0.62 (26 Nov 2002)"
#define Module_LibraryVersionInfo "0:61" #define Module_LibraryVersionInfo "0:62"
...@@ -1807,7 +1807,7 @@ file_enumdir Entry "r0-r2, r5-r7, dr, pr" ...@@ -1807,7 +1807,7 @@ file_enumdir Entry "r0-r2, r5-r7, dr, pr"
ADD r4, pr, #parent_MaxInputs ADD r4, pr, #parent_MaxInputs
LDMIA r4, {r4, r5} ; get the i/o stream counts LDMIA r4, {r4, r5} ; get the i/o stream counts
MOVS r3, r4 ; does this device have input streams? TEQ r4, #0 ; does this device have input streams?
ORRNE r3, r3, #read_attribute ORRNE r3, r3, #read_attribute
TEQ r5, #0 TEQ r5, #0
ORRNE r3, r3, #write_attribute ORRNE r3, r3, #write_attribute
......
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