[Mono-bugs] [Bug 30053][Wis] New - semaphore.h is not always provided

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
9 Sep 2002 14:33:33 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jmmv@hispabsd.org.

http://bugzilla.ximian.com/show_bug.cgi?id=30053

--- shadow/30053	Mon Sep  9 10:33:33 2002
+++ shadow/30053.tmp.13099	Mon Sep  9 10:33:33 2002
@@ -0,0 +1,46 @@
+Bug#: 30053
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: NetBSD 1.6H (current)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jmmv@hispabsd.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: semaphore.h is not always provided
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+The file mono/io-layer/semaphores.c includes unconditionally the file
+<semaphore.h>. This file is not always present in all systems, and
+therefore, it should be made optional.
+
+Specially, it does not exist in NetBSD 1.6H. Making the inclusion optional
+solves the problem.
+
+Note that this will also happen in OpenBSD.
+
+
+Steps to reproduce the problem:
+1. Get a NetBSD box.
+2. Try to compile semaphores.c.
+3. 
+
+Actual Results:
+semaphores.c does not compile.
+
+Expected Results:
+
+
+How often does this happen? 
+
+
+Additional Information: