[llvm] r186588 - Windows/Path.inc: Introduce file_type::character_file and file_type::fifo_file in sys::fs::getStatus(HANDLE).

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jul 18 11:20:43 PDT 2013


Thanks!

> +  switch (::GetFileType(FileHandle)) {
> +  default:
> +  case FILE_TYPE_UNKNOWN:

Is this the correct handling of default and  FILE_TYPE_UNKNOWN? I was
thinking of something like the attached patch. What do you think?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130718/68ee17af/attachment.obj>


More information about the llvm-commits mailing list