Browse Source

Updated to support new atime param.

Brucey 3 years ago
parent
commit
3e1f19e62d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      stream.mod/stream.bmx

+ 2 - 2
stream.mod/stream.bmx

@@ -1269,9 +1269,9 @@ End Rem
 Function CasedFileName$(path$)
 	Local	dir:Byte Ptr
 	Local   sub$,s$,f$,folder$,p:Int
-	Local	Mode:Int,size:Long,mtime:Int,ctime:Int
+	Local	Mode:Int,size:Long,mtime:Int,ctime:Int,atime:Int
         
-	If stat_( path,Mode,size,mtime,ctime )=0
+	If stat_( path,Mode,size,mtime,ctime,atime )=0
 		Mode:&S_IFMT_
 		If Mode=S_IFREG_ Or Mode=S_IFDIR_ Return path
 	EndIf