removed a macos-specific dependencies in ikrt_file_ctime procedure.

This commit is contained in:
Abdulaziz Ghuloum 2008-02-19 03:28:40 -05:00
parent 523fa2e588
commit 7a9526ec91
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
1401
1402

View File

@ -193,8 +193,9 @@ ikrt_file_ctime(ikptr filename, ikptr res){
if(err) {
return fix(errno);
}
ref(res, off_car) = fix(s.st_ctimespec.tv_sec);
ref(res, off_cdr) = fix(s.st_ctimespec.tv_nsec);
ref(res, off_car) = fix(s.st_ctime);
ref(res, off_cdr) = 0;
return fix(0);
}