Mail Archives: djgpp-workers/2000/06/26/17:15:33
Eli Zaretskii wrote:
> 
> On Mon, 26 Jun 2000, Laurynas Biveinis wrote:
> 
> > As I can see, all the complexity there is for the case when _chmod()
> > fails, for root directories and device files. So the performance loss
> > should be pretty small for real applications.
> 
> The complexity will come into play each time _chmod fails, i.e. for each
> missing file.
Oh, of course, missing files.
> > BTW, should chown() succeed for those root directories and device
> > files?
> Devices seem especially questionable.  As for root directories, I doubt
> that a Unix program would ever want to call chown on it.
Devices do have owners and they can be freely changed in unix; so I see
it as a bug in DJGPP. I'm not sure about / directory there. 
What's the best way to fix device handling? Make __file_exists() recognize
devices too?
Laurynas
- Raw text -