[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: work3 - searchpath
- From: Adrián Pérez <copylight@...>
- Date: Wed, 22 Dec 2004 12:08:27 +0100
El 19/12/2004, a las 12:31, David Burgess escribió:
would it be better to use access() to check for file readibility?
The function is also available under windows and I believe under
access() has security faults in lots of platforms, in fact even manpages
say things like «access() is a potential security hole and should never
(from the MacOS X manpages). If you want to do something similar use
or just stick with fopen(). stat() is available in Win32, too.
Description: Mensaje firmado digitalmente