[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ext[23]_rename do not update [cm]time of target directory



POSIX says in
<http://www.opengroup.org/onlinepubs/009695399/functions/rename.html>:

  Upon successful completion, rename() shall mark for update the st_ctime
  and st_mtime fields of the parent directory of each file.

ext[23]_rename fail to update st_[cm]time of the target directory if the
target file already existed.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab suse de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]