On Mon, 2003-06-16 at 10:05, J�rg W�rzer wrote: > hello mono community, > > i'm porting some com classes to win/.net in our company. therefore im > porting them so, they work with mono and .net. now i've noticed some > differences in behavior between mono and .net. > > system: redhat 8, mono 0.24-2 (rpm install). > > following code compiled with .net doesn't run under mono/linux but under > win/.net.
Nice to see ms following their own documentation: I quote from the .net 1.1 docs - from System.IO.FileStream.ctor() "FileShare.Read is the default for those FileStream constructors without a FileShare parameter." and from System.IO.FileMode "FileMode.Append can only be used in conjunction with FileAccess.Write. Any attempt to read fails and throws an ArgumentException." Some quick testing shows that the FileStream is given Write access by default. Please add this to bugzilla so we don't forget about it. Thanks, - Dick > ** (process:1983): WARNING **: Shared memory sanity check failed. > > ** (process:1983): WARNING **: Failed to attach shared memory! Falling back > to non-shared handles "rm -r ~/.wapi" to shut this warning up _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
