updated: [master] [bda4e48] maint: fix typos in the code

1 view
Skip to first unread message

Yury V. Zaytsev

unread,
Jun 3, 2024, 10:19:13 AM6/3/24
to mc-co...@googlegroups.com
The following commit has been merged in the master branch:
commit bda4e480d2c14ea29310663791300302a2748c6a
Author: Yury V. Zaytsev <yu...@shurup.com>
Date: Sat Jun 1 17:45:46 2024 +0200

maint: fix typos in the code

Signed-off-by: Yury V. Zaytsev <yu...@shurup.com>

diff --git a/lib/unixcompat.h b/lib/unixcompat.h
index 9a1e0ce..591a709 100644
--- a/lib/unixcompat.h
+++ b/lib/unixcompat.h
@@ -73,7 +73,7 @@
#define O_BINARY _O_BINARY
#endif
#ifdef __BEOS__
- /* BeOS 5 has O_BINARY, but is has no effect. */
+ /* BeOS 5 has O_BINARY, but it has no effect. */
#undef O_BINARY
#endif
/* On reasonable systems, binary I/O is the default. */
diff --git a/lib/vfs/parse_ls_vga.c b/lib/vfs/parse_ls_vga.c
index 4e457af..3b179eb 100644
--- a/lib/vfs/parse_ls_vga.c
+++ b/lib/vfs/parse_ls_vga.c
@@ -703,7 +703,7 @@ vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linknam
if (strlen (p) <= 8 || p[8] != ']')
goto error;

- /* Should parse here the Notwell permissions :) */
+ /* Should parse here the Novell permissions :) */
if (S_ISDIR (s->st_mode))
s->st_mode |= (S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IXUSR | S_IXGRP | S_IXOTH);
else
diff --git a/src/vfs/cpio/cpio.c b/src/vfs/cpio/cpio.c
index 62914bb..f14443f 100644
--- a/src/vfs/cpio/cpio.c
+++ b/src/vfs/cpio/cpio.c
@@ -456,7 +456,7 @@ cpio_create_entry (struct vfs_class *me, struct vfs_s_super *super, struct stat
if (entry != NULL)
{
/* This shouldn't happen! (well, it can happen if there is a record for a
- file and than a record for a directory it is in; cpio would die with
+ file and then a record for a directory it is in; cpio would die with
'No such file or directory' is such case) */

if (!S_ISDIR (entry->ino->st.st_mode))

--
Midnight Commander Development
Reply all
Reply to author
Forward
0 new messages