@@ -205,28 +205,28 @@ private abstract class PosixMilliIntUtim[Interface <: Utimensat[Int]: ClassTag]
205205
206206private class Linux64FileStat extends StatLong (144 , 88 , 96 )
207207private trait Linux64 extends Library with Utimensat [Long ] {
208- def __xstat64 ( version : Int , filePath : String , buf : Linux64FileStat ): Int
208+ def stat ( filePath : String , buf : Linux64FileStat ): Int
209209}
210210private object Linux64Milli extends PosixMilliLongUtim [Linux64 ] {
211211 protected final val AT_FDCWD : Int = - 100
212212 protected final val UTIME_OMIT : Long = (1L << 30 ) - 2
213213 protected def getModifiedTimeNative (filePath : String ) = {
214214 val stat = new Linux64FileStat
215- checkedIO(filePath) { libc.__xstat64( 1 , filePath, stat) }
215+ checkedIO(filePath) { libc.stat( filePath, stat) }
216216 stat.getModifiedTimeNative
217217 }
218218}
219219
220220private class Linux32FileStat extends StatInt (88 , 64 , 68 )
221221private trait Linux32 extends Library with Utimensat [Int ] {
222- def __xstat ( version : Int , filePath : String , buf : Linux32FileStat ): Int
222+ def stat ( filePath : String , buf : Linux32FileStat ): Int
223223}
224224private object Linux32Milli extends PosixMilliIntUtim [Linux32 ] {
225225 protected final val AT_FDCWD : Int = - 100
226226 protected final val UTIME_OMIT : Int = ((1 << 30 ) - 2 )
227227 protected def getModifiedTimeNative (filePath : String ) = {
228228 val stat = new Linux32FileStat
229- checkedIO(filePath) { libc.__xstat( 3 , filePath, stat) }
229+ checkedIO(filePath) { libc.stat( filePath, stat) }
230230 stat.getModifiedTimeNative
231231 }
232232}
0 commit comments