C++ doesn't have access() function

Stephen F. Booth me at sbooth.org
Sat Jun 11 18:41:27 CEST 2011


2011/6/11 Anton Sergunov <setosha at gmail.com>:
> C++ doesn't have access() function. It's linux specific.

I think access() is a standard POSIX function defined in unistd.h.
What OS are you using?

I did note that the man page says:

CAVEAT
     Access() is a potential security hole and should never be used.

I don't think isReadable and isWritable are really useful, and they
aren't used internally in TagLib as far as I can tell, so it might be
best to remove them.

Stephen


More information about the taglib-devel mailing list