Ticket #2838 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

'Enter' action on a rpm file containing space character in filename

Reported by: gv Owned by: slavazanko
Priority: critical Milestone: 4.8.5
Component: mc-vfs Version: master
Keywords: Cc: gabriel@…
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master committed-stable

Description

  1. cp /path/to/any-file.rpm '/tmp/a n y - f i l e.rpm'
  2. run /usr/bin/mc, go to /tmp
  3. Press Enter on 'a n y - f i l e.rpm' file

Error

Inconsistent extfs archive
error: open of /tmp/a\ failed: No such file or directory
error: open of n\ failed: No such file or directory
error: open of y\ failed: No such file or directory
error: open of -\ failed: No such file or directory
error: open of f\ failed: No such file or directory
error: open of i\ failed: No such file or directory
error: open of l\ failed: No such file or directory
error: open of e.rpm failed: No such file or directory

# /usr/libexec/mc/extfs.d/rpm list /tmp/a\ n\ y\ -\ f\ i\ l\ e.rpm
error: open of /tmp/a\ failed: No such file or directory
error: open of n\ failed: No such file or directory
error: open of y\ failed: No such file or directory
error: open of -\ failed: No such file or directory
error: open of f\ failed: No such file or directory
error: open of i\ failed: No such file or directory
error: open of l\ failed: No such file or directory
error: open of e.rpm failed: No such file or directory
-r--r--r-- 1 root root 0 Jun 29 15:12 ERROR

Change History

comment:1 Changed 7 years ago by andrew_b

  • Priority changed from minor to critical
  • Milestone changed from Future Releases to 4.8.4

comment:2 Changed 7 years ago by slavazanko

  • Owner set to slavazanko
  • Status changed from new to accepted

comment:3 Changed 7 years ago by slavazanko

  • Keywords stable-candidate added
  • Branch state changed from no branch to on review

Created branch 2838_spaces_in_rpm
Review, please.

comment:4 Changed 7 years ago by gv

Works for me.
Thanks.

comment:5 Changed 7 years ago by andrew_b

  • Votes for changeset set to andrew_b

comment:6 Changed 7 years ago by angel_il

  • Votes for changeset changed from andrew_b to andrew_b angel_il
  • Branch state changed from on review to approved

comment:7 Changed 7 years ago by andrew_b

  • Milestone changed from 4.8.4 to 4.8.5

comment:8 Changed 7 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b angel_il to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

merged to master

git log --pretty=oneline 3fe3f60..7ddc296

comment:9 Changed 7 years ago by slavazanko

  • Status changed from testing to closed
  • Keywords stable-candidate removed
  • Votes for changeset changed from committed-master to committed-master committed-stable

merged to stable:

git log --pretty=oneline 34f03ce..5484367
Note: See TracTickets for help on using tickets.