Commit 7cd6cc306071743fd5c64513bec0a10ebe1a73ac
Don't set put_next():move when it's irrelevant
Mainly for the piece of mind because it's used to control execution and
the reason it didn't cause trouble when symlinking files in trash is
that merging is not allowed for symlinking
Author: xaizek
Author date (UTC): 2026-03-13 13:53
Committer name: xaizek
Committer date (UTC): 2026-03-13 13:55
Parent(s): 10f855abed34e909e90879c3bcd2d6772a2652fb
Signing key: 99DC5E4DB05F6BE2
Tree: b41cb1cbe4618422e87d45cf637f55fd3eb8e99c
| File src/fops_put.c changed (mode: 100644) (index 480145b98..7e671e68b) |
| ... |
... |
put_next(int force) |
| 602 |
602 |
} |
} |
| 603 |
603 |
|
|
| 604 |
604 |
from_trash = trash_has_path(filename); |
from_trash = trash_has_path(filename); |
| 605 |
|
move = from_trash || put_confirm.op == CMLO_MOVE; |
|
|
605 |
|
move = put_confirm.op == CMLO_MOVE |
|
606 |
|
|| (put_confirm.op == CMLO_COPY && from_trash); |
| 606 |
607 |
|
|
| 607 |
608 |
copy_str(src_buf, sizeof(src_buf), filename); |
copy_str(src_buf, sizeof(src_buf), filename); |
| 608 |
609 |
|
|