Op 4/11/2010 11:00 AM, Daniel Stenberg schreef:
> On Thu, 8 Apr 2010, Jose Baars wrote:
>
>> If you test attrs.permissions with S_ISDIR, you find out if it is a
>> directory or not, like this :
>
> I don't like to depend on a system macro such as S_ISDIR to check for
> libssh2-specific bits, so I'm gonna introduce a set of
> LIBSSH2_SFTP_S_IS***() macros that mirror the functionality.
>
> And I'll add something to the man page for libssh2_sftp_fstat_ex()
> about it all.
>
I thought they were POSIX defined macro's? Most C-compilers would
support those then, wouldn't they?
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel