[Mono-dev] DriveInfo implementation
lordhabbit at gmail.com
Thu Dec 6 12:01:34 EST 2007
2007/12/6, Robert Jordan wrote:
>> Ok, so I'm leaving the checks code as exceptions, not as assertions.
>> By the way, does the unmanaged method return immediately when an
>> exception is raised or does it need to actually execute a "return"?
>Indeed, it won't be reached anyways.
Sorry for my denseness... If I understand you right, as soon as I call
mono_raise_exception the unmanaged method is abandoned at runtime, but
I still need to include a "return" call after it so as to appease the
compiler, who doesn't know it. If that is so, I need to make sure I
free all memory aquired _before_ calling raise_exception, needn't I?
>Feel free to post patches only if you have questions, as we
>won't test them until you've finished.
Well, I though it was easier to send, test & commit two sequential,
self-contained, non-breaking patches (one for windows, one for linux)
than one big patch, but when in Rome... ok, I'll do like the romans.
I'm rebooting into Linux now and I expect to have the thing ready in
few hours, then I'll send the finished, full W&L patch for testing.
More information about the Mono-devel-list