Mail Archives: djgpp-workers/2000/08/22/06:18:53
I've updated _is_executable() documentation to state, that
symlinks are not supported there. I see no point in adding
symlink support there, because it's semi-internal library
function to be used in lstat() and fstat(), after all.
Any objections are welcome.
Laurynas
Index: is_exec.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/sys/stat/is_exec.txh,v
retrieving revision 1.3
diff -u -p -r1.3 is_exec.txh
--- is_exec.txh 1999/06/20 08:53:40 1.3
+++ is_exec.txh 2000/08/22 10:17:00
@@ -35,7 +35,8 @@ alone isn't enough to determine whether
function returns 0, because it cannot look at the @cite{magic number}.
This function is used internally by @code{f?stat}; you are not supposed
-to call it directly.
+to call it directly. However, if you call it, and pass file through
+@var{path}, it's up to you to resolve symlinks there.
@subheading Return Value
- Raw text -