Bug 4145 - Workaround mono's bug #4123
Summary: Workaround mono's bug #4123
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-03-29 04:29 UTC by radekp
Modified: 2012-03-29 12:45 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Patch for file workarounding FileInfo.Length bug (1.59 KB, patch)
2012-03-29 04:29 UTC, radekp

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description radekp 2012-03-29 04:29:10 UTC
Created attachment 1600 [details]
Patch for file workarounding FileInfo.Length bug

monodevelop can't open source files due to this bug in mono's git:


Attached is workaround. Although it's workaround it makes the code smaller and faster - determining file length from stream's length is probably more correct. You avoid creating FileInfo class and save a few system calls.
Comment 1 Jeffrey Stedfast 2012-03-29 12:45:59 UTC
thanks. applied to git master