[Mono-bugs] [Bug 495757] Marshaling seems to fail with structures as return value from unmanaged c-progs
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Apr 17 15:09:24 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=495757
User heertsch at endotherm.ch added comment
http://bugzilla.novell.com/show_bug.cgi?id=495757#c2
--- Comment #2 from Andreas Heertsch <heertsch at endotherm.ch> 2009-04-17 13:09:24 MDT ---
Thanks Zoltan.
> The size of sDir field is PATH_MAX which is system specific.
Yes PATH_MAX is system specific. (I looked in usb.h for the correct value on my
machine just to make the proc short and simple)
> Also, on my machine,
> the root_device field is only initialized by libusb if the app is ran as root.
if I run this proc with root privileges and mono2.4.15, the result is the same
(Zero pointer). (IMHO it makes no sense, if root_device field is only
initialized with root privileges. In this case no normal user is able to
communicate with any device.)
(In reply to comment #1)
Andreas
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list