[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform

Henrik Bach henrik_bach_llvm at hotmail.com
Mon Dec 13 15:15:45 PST 2004


Does any one have an idea which fields and how to the values correctly of 
the StatusInfo struct when dealing with the information returned in the 
from windows instead of the unix stuff in getStatusInfo:

--- (excerpt start) -------------
  info.fileSize = buf.st_size;
  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 gccld and is missing in win32 
Path.cpp file.


Henrik Bach
Open Source Developer

e-mail: henrik_bach_llvm at hotmail.com
Got Freedom?
Software Freedom Day 2004 - 28th of August

Del din verden med MSN Spaces http://spaces.msn.com

More information about the llvm-dev mailing list