[llvm-commits] [compiler-rt] r170507 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc

Alexey Samsonov samsonov at google.com
Tue Dec 18 23:57:42 PST 2012


Author: samsonov
Date: Wed Dec 19 01:57:42 2012
New Revision: 170507

URL: http://llvm.org/viewvc/llvm-project?rev=170507&view=rev
Log:
[Sanitizer] implement internal_isatty on Windows

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc?rev=170507&r1=170506&r2=170507&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Wed Dec 19 01:57:42 2012
@@ -185,7 +185,7 @@
 }
 
 int internal_isatty(fd_t fd) {
-  UNIMPLEMENTED();
+  return _isatty(fd);
 }
 
 fd_t internal_open(const char *filename, bool write) {





More information about the llvm-commits mailing list