Author: gnorton
Date: 2007-11-01 14:04:01 -0500 (Thu, 01 Nov 2007)
New Revision: 88675
Modified:
trunk/mono/support/ChangeLog
trunk/mono/support/stdio.c
Log:
2007-11-01 Geoff Norton <[EMAIL PROTECTED]>
* stdio.c: Handle Leopards lack of L_cuserid.
Modified: trunk/mono/support/ChangeLog
===================================================================
--- trunk/mono/support/ChangeLog 2007-11-01 19:03:42 UTC (rev 88674)
+++ trunk/mono/support/ChangeLog 2007-11-01 19:04:01 UTC (rev 88675)
@@ -1,3 +1,7 @@
+2007-11-01 Geoff Norton <[EMAIL PROTECTED]>
+
+ * stdio.c: Handle Leopards lack of L_cuserid.
+
2007-10-25 Jonathan Pryor <[EMAIL PROTECTED]>
* stdio.c: Provide errno as a parameter and set errno before calling
Modified: trunk/mono/support/stdio.c
===================================================================
--- trunk/mono/support/stdio.c 2007-11-01 19:03:42 UTC (rev 88674)
+++ trunk/mono/support/stdio.c 2007-11-01 19:04:01 UTC (rev 88675)
@@ -26,7 +26,11 @@
gint32
Mono_Posix_Syscall_L_cuserid (void)
{
+#ifdef __APPLE__
+ return -1;
+#else
return L_cuserid;
+#endif
}
#endif /* ndef PLATFORM_WIN32 */
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches