Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-24 Thread László Monda
On Thu, 2006-02-23 at 07:50 -0500, Jonathan Pryor wrote: On Wed, 2006-02-22 at 19:52 +0100, László Monda wrote: On Fri, 2006-02-17 at 06:28 -0500, Jonathan Pryor wrote: On Fri, 2006-02-17 at 00:36 +0100, László Monda wrote: UnixFileSystemInfo seems to be a well-designed abstraction on

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-23 Thread Jonathan Pryor
On Wed, 2006-02-22 at 19:52 +0100, László Monda wrote: On Fri, 2006-02-17 at 06:28 -0500, Jonathan Pryor wrote: On Fri, 2006-02-17 at 00:36 +0100, László Monda wrote: UnixFileSystemInfo seems to be a well-designed abstraction on top of the Unix VFS API, but I'll stick with syscalls,

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-22 Thread László Monda
On Fri, 2006-02-17 at 06:28 -0500, Jonathan Pryor wrote: On Fri, 2006-02-17 at 00:36 +0100, László Monda wrote: UnixFileSystemInfo seems to be a well-designed abstraction on top of the Unix VFS API, but I'll stick with syscalls, because I don't like UnixFileSystemInfo's exception policy.

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-17 Thread Jonathan Pryor
On Fri, 2006-02-17 at 00:36 +0100, László Monda wrote: UnixFileSystemInfo seems to be a well-designed abstraction on top of the Unix VFS API, but I'll stick with syscalls, because I don't like UnixFileSystemInfo's exception policy. What don't you like about its exception policy? Thanks, -

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-16 Thread László Monda
Hey Jonathan, On Wed, 2006-02-15 at 07:15 -0500, Jonathan Pryor wrote: On Wed, 2006-02-15 at 12:15 +0100, László Monda wrote: I've been playing with stat() and lstat() in the past few days and things seem to be weird. I made two test programs to demonstrate the problem. The first is

[Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-15 Thread László Monda
Hey List, I've been playing with stat() and lstat() in the past few days and things seem to be weird. I made two test programs to demonstrate the problem. The first is written in C and behaves correctly, the second is written in C# and is quite abnormal. I attached both of them. Let's see

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-15 Thread Jonathan Pryor
On Wed, 2006-02-15 at 12:15 +0100, László Monda wrote: I've been playing with stat() and lstat() in the past few days and things seem to be weird. I made two test programs to demonstrate the problem. The first is written in C and behaves correctly, the second is written in C# and is quite