El 05/10/2010 01:47 p.m., Dan Fandrich escribió:
On Tue, Oct 05, 2010 at 12:19:13PM -0300, Ezequiel Ruiz wrote:
I'm wondering if it would be possible to add ctime support for the
_LIBSSH2_SFTP_ATTRIBUTES file attributes. Is this unsupported for
some reason? (I mean, only atime and mtime are listed in there).
You can't change ctime to an arbitrary value, by definition. ctime is
always updated by the system when the inode changes. That's why system
calls like utimes(2) only allow changes to atime and mtime as well.

Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Yes I understand, but I don't want to change it, just want to "read" it with the stat() based functions. Would it be possible to add support for reading that value with stat() ?

Regards,

Ezequiel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to