[Mono-list] io-layer naming issues on OSX.

Miguel de Icaza miguel at ximian.com
Wed Oct 11 17:54:01 EDT 2006


> So, should I try to prepare a patch for the runtime with the renaming  
> Paolo proposed in #77324 as a solution? Or could it be related to the  
> non-specified x86 thread attaching issues mentioned by Paolo in #77638?

One thing that I would like to check with Dick about his personal
preference on how to go around this.

One option is to introduce something like:

#define OpenFile __mono_OpenFile

And include this in all of Mono, but this has the disadvantage that we
would be looking at a method called "OpenFile" and not be able to set a
breakpoint ("is this broken?")

Another option is to replace all the call sites with monoOpenFile for
example as well as all the function definitions and provide a define
only on Windows to map to the real names.   This is uglier and lengthier
in the source code, but it would not have any hidden surprises.

Another option is to only do the above hacks with the two conflicting


More information about the Mono-list mailing list