[PATCH] s/errc::not_supported/errc::function_not_supported/ in Support/Unix/Path.inc

Luqman Aden me+llvm at luqman.ca
Sun Jun 29 20:44:22 PDT 2014


I was building on Android and since it doesn't have futimes and futimens it
was hitting the else case which tries to use a variant that's not in the
errc enum. A simple enough change and I can build for Android again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140629/af3000fc/attachment.html>
-------------- next part --------------
Index: lib/Support/Unix/Path.inc
===================================================================
--- lib/Support/Unix/Path.inc	(revision 212013)
+++ lib/Support/Unix/Path.inc	(working copy)
@@ -468,7 +468,7 @@
   return std::error_code();
 #else
 #warning Missing futimes() and futimens()
-  return make_error_code(errc::not_supported);
+  return make_error_code(errc::function_not_supported);
 #endif
 }
 


More information about the llvm-commits mailing list