r418 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jan 14 16:26:12 EST 2008


Author: icculus
Date: 2008-01-14 16:26:12 -0500 (Mon, 14 Jan 2008)
New Revision: 418

Modified:
   trunk/platform_unix.c
Log:
Added a FIXME comment.


Modified: trunk/platform_unix.c
===================================================================
--- trunk/platform_unix.c	2008-01-14 09:26:46 UTC (rev 417)
+++ trunk/platform_unix.c	2008-01-14 21:26:12 UTC (rev 418)
@@ -447,6 +447,10 @@
 boolean MojoPlatform_osVersion(char *buf, size_t len)
 {
 #if PLATFORM_MACOSX
+    // !!! FIXME: this is wrong...it doesn't with with 10.y.xx, where 'xx'
+    // !!! FIXME:  is more than one digit (it appears to clamp to 9 in these
+    // !!! FIXME:  cases inside Gestalt(), for obvious reasons).
+    // !!! FIXME: This is a legacy--and incorrect--way to get this information.
     long ver = 0x0000;
 	if (Gestalt(gestaltSystemVersion, &ver) == noErr)
     {




More information about the mojosetup-commits mailing list