Skip to content

Commit

Permalink
Merge branch '4507_shell_vfs_cyrillic'
Browse files Browse the repository at this point in the history
* 4507_shell_vfs_cyrillic:
  Ticket #4507: shell VFS: incorrect file names with cyrillic or diacritic symbols.
  • Loading branch information
aborodin committed Oct 22, 2023
2 parents 74d9f24 + 3c49418 commit 789f951
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/vfs/shell/helpers/ls
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@ SHELL_DIR=$1
perl -e '
use strict;
use POSIX;
use Fcntl;
use POSIX ":fcntl_h"; #S_ISLNK was here until 5.6
import Fcntl ":mode" unless defined &S_ISLNK; #and is now here
use Fcntl ":mode"; # S_ISLNK, S_IFMT, S_IMODE are here
use POSIX ":fcntl_h"; # S_ISLNK might be here as well
my $dirname = $ARGV[0];
if (opendir (DIR, $dirname)) {
while((my $filename = readdir (DIR))){
Expand Down

0 comments on commit 789f951

Please sign in to comment.