[llvm-commits] [llvm] r137204 - /llvm/trunk/lib/Support/Unix/Host.inc

Bob Wilson bob.wilson at apple.com
Tue Aug 9 22:02:22 PDT 2011


Author: bwilson
Date: Wed Aug 10 00:02:22 2011
New Revision: 137204

URL: http://llvm.org/viewvc/llvm-project?rev=137204&view=rev
Log:
Clarify a comment.

Modified:
    llvm/trunk/lib/Support/Unix/Host.inc

Modified: llvm/trunk/lib/Support/Unix/Host.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Host.inc?rev=137204&r1=137203&r2=137204&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Host.inc (original)
+++ llvm/trunk/lib/Support/Unix/Host.inc Wed Aug 10 00:02:22 2011
@@ -30,7 +30,9 @@
   struct utsname info;
 
 #ifdef __APPLE__
-  // Recognize UNAME_RELEASE environment variable to match Darwin uname.
+  // Recognize UNAME_RELEASE environment variable to match Darwin's uname,
+  // where the value of this variable sets the OS release version
+  // reported by "uname -r".
   const char *UnameOverride = ::getenv("UNAME_RELEASE");
   if (UnameOverride && UnameOverride[0] != '\0')
     return UnameOverride;





More information about the llvm-commits mailing list