Re: COPYOUT time

2015-06-10 Thread Nicolas Rybkin
Can anyone tell me where is implementation of mc_fstat() ? I can't find it.
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: COPYOUT time

2015-06-10 Thread Andrew Borodin
On Wed, 10 Jun 2015 19:10:52 +0300 Nicolas Rybkin wrote:
 Can anyone tell me where is implementation of mc_fstat() ? I can't find it.

lib/vfs/interface.c:589

-- 
Andrew
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


COPYOUT time

2015-05-29 Thread Nicolas Rybkin
Hello, my script uses st_atime to store some data, but as I surpisingly learned 
MC sets time after file is copied out according to time given in the list. 
Possible solution: test if the newly created file time differs from time(0) by 
some x seconds or more, then fix time only if it does. BUT: when I tried 
mc_fstat(dst_vpath, mystat) and then copy mtime and atime I got after this to 
utb before mc_utime(dst_vpath, utb) /in filemanager/file.c/then all copied 
files get crazy time stamts like 0x80300 m_time. What's wrong?
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel