Ticket #2559 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

fish: copy file don't overwrite exists file

Reported by: crazycat Owned by:
Priority: major Milestone: 4.8
Component: mc-vfs Version: 4.7.5
Keywords: fish copy don't overwrite Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

When I copy the file to a shell connection destination where a file with that name already exists, and I respond to a request "overwrite", the file is not overwritten, and is appended.
I think the whole problem in the file helpers/send, it does not contain cleanup file code, and has minor differences from the file helpers/append.

Change History

comment:1 Changed 8 years ago by crazycat

GNU Midnight Commander, версия 4.7.5-221-g2ed2895
Скомпилирован с библиотекой GLib версии 2.28.6
С библиотекой S-Lang и с базой данных terminfo
Со встроенным редактором
C поддержкой внутренней командной оболочки
С поддержкой фоновых операций
С поддержкой мыши в xterm
С поддержкой событий X11
С поддержкой интернационализации
С поддержкой многих кодировок
Виртуальная файловая система: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Тип данных: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

comment:2 Changed 8 years ago by andrew_b

Please use the C locale to show info.

LC_ALL=C mc

comment:3 in reply to: ↑ description Changed 8 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to fixed
  • Branch state set to no branch

Replying to crazycat:

I think the whole problem in the file helpers/send, it does not contain cleanup file code, and has minor differences from the file helpers/append.

Well, it was fixed in #2632.
changeset:c6e21eff7de27515f323a6b66172937fd9f9d141

Note: See TracTickets for help on using tickets.