mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
On Linux, mbFileCopyAttr's FPS_ISLNK branch only handled caoCopyOwnership for symlinks; caoCopyTime was silently skipped because the time-setting code was in the else branch. Even if we had reached it, DC_FileSetTime uses utimes() which follows symlinks and would set the target's mtime, not the link's own mtime. Fix: - dcunix.pas: add DC_SymLinkSetTime using lutimes() (glibc), which sets mtime/atime on the symlink itself without following it. - dcosutils.pas: call DC_SymLinkSetTime inside the FPS_ISLNK branch when caoCopyTime is in Options. Without this, after a sync the symlink's mtime = copy time ≠ source mtime, so every subsequent compare would mark it as 'different' → infinite override loop. |
||
|---|---|---|
| .. | ||
| chsdet | ||
| doublecmd | ||
| gifview | ||
| Image32 | ||
| kascrypt | ||
| KASToolBar | ||
| multithreadprocs | ||
| synunihighlighter | ||
| viewer | ||
| virtualterminal | ||
| build.bat | ||
| build.sh | ||