Displaying 4 results from an estimated 4 matches for "fromepochtime".
2004 Dec 13
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
...ned in the
BY_HANDLE_FILE_INFORMATION struct
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp)
from windows instead of the unix stuff in getStatusInfo:
--- (excerpt start) -------------
info.fileSize = buf.st_size;
info.modTime.fromEpochTime(buf.st_mtime);
info.mode = buf.st_mode;
info.user = buf.st_uid;
info.group = buf.st_gid;
info.isDir = S_ISDIR(buf.st_mode);
if (info.isDir && path[path.length()-1] != '/')
path += '/';
--- (excerpt end) -------------
The getStatusInfo is used in the code of gc...
2004 Dec 14
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
...gt;>(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp)
>>from windows instead of the unix stuff in getStatusInfo:
>>
>>--- (excerpt start) -------------
>> info.fileSize = buf.st_size;
>> info.modTime.fromEpochTime(buf.st_mtime);
>> info.mode = buf.st_mode;
>> info.user = buf.st_uid;
>> info.group = buf.st_gid;
>> info.isDir = S_ISDIR(buf.st_mode);
>> if (info.isDir && path[path.length()-1] != '/')
>> path += '/';
>>--- (excerpt end) --...
2004 Dec 13
0
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
...ORMATION struct
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp)
> from windows instead of the unix stuff in getStatusInfo:
>
> --- (excerpt start) -------------
> info.fileSize = buf.st_size;
> info.modTime.fromEpochTime(buf.st_mtime);
> info.mode = buf.st_mode;
> info.user = buf.st_uid;
> info.group = buf.st_gid;
> info.isDir = S_ISDIR(buf.st_mode);
> if (info.isDir && path[path.length()-1] != '/')
> path += '/';
> --- (excerpt end) -------------
>
>...
2004 Dec 14
0
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
...soft.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp)
> >>from windows instead of the unix stuff in getStatusInfo:
> >>
> >>--- (excerpt start) -------------
> >> info.fileSize = buf.st_size;
> >> info.modTime.fromEpochTime(buf.st_mtime);
> >> info.mode = buf.st_mode;
> >> info.user = buf.st_uid;
> >> info.group = buf.st_gid;
> >> info.isDir = S_ISDIR(buf.st_mode);
> >> if (info.isDir && path[path.length()-1] != '/')
> >> path += '/'...