Re: [Mono-dev] Compiler warnings

2009-07-23 Thread Christian Hergert
Round 2, * Moved TEMP_FAILURE_RETRY macro to mono/utils/mono-io-portability.h. * Removed #ifndef PLATFORM_MACOSX for now. -- Christian mono-fix-compiler-warnings-2.patch Description: Binary data On Jul 23, 2009, at 8:24 PM, Geoff Norton wrote: On 23-Jul-09, at 11:02 PM, Christian Herg

Re: [Mono-dev] Compiler warnings

2009-07-23 Thread Geoff Norton
On 23-Jul-09, at 11:02 PM, Christian Hergert wrote: > Hello, > > In an effort to get more familiar with some of the code-base, I went > through and fixed some of the pesky compiler warnings for the > runtime. Attached is a patch for said warnings. > > If anyone has suggestions on how to bette

[Mono-dev] Compiler warnings

2009-07-23 Thread Christian Hergert
Hello, In an effort to get more familiar with some of the code-base, I went through and fixed some of the pesky compiler warnings for the runtime. Attached is a patch for said warnings. If anyone has suggestions on how to better fix the warnings, please send them my way and I'll adjust t

[Mono-dev] [PATCH] Re: Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-07-23 Thread Adam Wendt
Attached is full patch including ChangeLog and Tests On Thu, Jul 23, 2009 at 12:25 PM, Adam Wendt wrote: > Here is test case patch: http://pastebin.com/m15952d84 > > > On Thu, Jul 23, 2009 at 11:52 AM, Veerapuram Varadhan < > vvarad...@novell.com> wrote: > >> Hi Adam, >> >> Patch looks fine to go

Re: [Mono-dev] Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-07-23 Thread Adam Wendt
Here is test case patch: http://pastebin.com/m15952d84 On Thu, Jul 23, 2009 at 11:52 AM, Veerapuram Varadhan wrote: > Hi Adam, > > Patch looks fine to go - along with a test case. > > Thanks, > > V. Varadhan > > On Thu, 2009-07-23 at 11:32 -0700, Adam Wendt wrote: > > http://pastebin.com/m45199c6

Re: [Mono-dev] System.Environment.CurrentDirectory problem

2009-07-23 Thread Adar Wesley
Hi, System.Environment.CurrentDirectory is inherited from the calling process. This is probably your shell. Try looking at AppDomain.CurrentDomain.BaseDirectory or Assembly.GetExecutingAssembly().CodeBase Maybe that's what your looking for. --- Adar Wesley On Thu, Jul 23, 2009 at 7:18 PM, PFJ

Re: [Mono-dev] Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-07-23 Thread Adar Wesley
Hi, I didn't check the code, but this comparison seemed questionable to me: 9. + else if (o2 isDateTime && o1 is string && Thread. CurrentThread.CurrentCulture != Cul

Re: [Mono-dev] Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-07-23 Thread Veerapuram Varadhan
Hi Adam, Patch looks fine to go - along with a test case. Thanks, V. Varadhan On Thu, 2009-07-23 at 11:32 -0700, Adam Wendt wrote: > http://pastebin.com/m45199c62 > > This makes it possible to compare DateTime to string (parsable to > DateTime) when the existing DateTime is on the right rather

[Mono-dev] Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-07-23 Thread Adam Wendt
http://pastebin.com/m45199c62 This makes it possible to compare DateTime to string (parsable to DateTime) when the existing DateTime is on the right rather than just when it is on the left (the previous behavior) Adam Adam Wendt Consulting ___ Mono-deve

[Mono-dev] System.Environment.CurrentDirectory problem

2009-07-23 Thread PFJ
Hi, I've compiled an application which tests for a directory and if it doesn't exist, creates it and copies a configuration file over. The app compiles fine. I've copied the executable and the configuration directory/file over to a new directory. When I run the app though, it creates a new direc

Re: [Mono-dev] dependency conflicts on rpm based distros

2009-07-23 Thread Martin Vogt
Andrew Jorgensen wrote: > Hi Martin, > > If mono-find-requires says that 2.0.3.0 is required that's really what is > required and 2.0.3.2 will not work. > Hello Andrew, Should banshee-1 crash? Despite the fact that banshee-1 may not the appropiate example, because it almost does not run at al