[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] [PATCH] Add implementation of pdf_fsys_disk_item_p
From: |
jemarch |
Subject: |
Re: [pdf-devel] [PATCH] Add implementation of pdf_fsys_disk_item_p |
Date: |
Mon, 28 Jul 2008 22:23:47 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
My current thought is to implement *item_p, *writable_p, and
*readable_p on top of *get_item_props. Seeing as using stat+access
is already what I'm doing in *get_item_props.
Sounds reasonable to me.
For Win32 there's no need to use fstat/access (which are
questionably effective) when we can use
FindFirstFile. FindFirstFile will return a data structure that has
all the information that stat+access would provide.
Anyone have a problem with this?
I just read the documentation of FindFirstFile and seems ok to me to
use it for this purpose. Please go in this way, but make sure to check
the FindFirstFile implementation in mingw. Also, dont forget about the
special device names.
Thanks.