On Sun, 2007-09-23 at 21:31 +1000, skaller wrote:
> On Sun, 2007-09-23 at 02:59 -0700, Erick Tryzelaar wrote:
> > On 9/23/07, skaller <[EMAIL PROTECTED]> wrote:
>
> > Gotcha. I was thinking along those lines. What I'm thinking is that we
> > have a three layer system for doing os interactions. Fir
On Sun, 2007-09-23 at 02:59 -0700, Erick Tryzelaar wrote:
> On 9/23/07, skaller <[EMAIL PROTECTED]> wrote:
> Gotcha. I was thinking along those lines. What I'm thinking is that we
> have a three layer system for doing os interactions. First, is a
> low-level lightweight wrapper of the native c/c++
On 9/23/07, skaller <[EMAIL PROTECTED]> wrote:
> This is a good question. Detecting the right sizes in config isn't a
> nice option.
I didn't like it either :)
> One solution is, for each platform, define the relevant types as
> abstract:
>
> ctypes dev_t, ino_t, mode_t ...;
>
> Then you
On Sat, 2007-09-22 at 14:48 -0700, Erick Tryzelaar wrote:
> According to "man 2 stat" on my mac, the stat struct has this definition:
>
> struct stat {
> dev_tst_dev;/* device inode resides on */
> ino_tst_ino;/* inode's number */
> mode_t st_mode;