summaryrefslogtreecommitdiff
path: root/include/my_dir.h
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-02-24 12:42:13 -0500
committerSergey Vojtovich <svoj@mariadb.org>2018-04-05 15:26:57 +0400
commit3dd01669b41bfad75f4a785d6263eb0f729b0213 (patch)
tree5305ec00d62be464b111583d32618bf4c0371000 /include/my_dir.h
parent7c689300317793d1396b7a24f86452882d3180c2 (diff)
downloadmariadb-git-3dd01669b41bfad75f4a785d6263eb0f729b0213.tar.gz
Misc. typos
Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/`
Diffstat (limited to 'include/my_dir.h')
-rw-r--r--include/my_dir.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_dir.h b/include/my_dir.h
index a1a03ffe1d2..af4e640c96a 100644
--- a/include/my_dir.h
+++ b/include/my_dir.h
@@ -50,7 +50,7 @@ extern "C" {
#define MY_S_ISREG(m) (((m) & MY_S_IFMT) == MY_S_IFREG)
#define MY_S_ISFIFO(m) (((m) & MY_S_IFMT) == MY_S_IFIFO)
-/* Ensure these dosn't clash with anything in my_sys.h */
+/* Ensure these doesn't clash with anything in my_sys.h */
#define MY_WANT_SORT 8192 /* my_lib; sort files */
#define MY_WANT_STAT 16384 /* my_lib; stat files */
#define MY_DONT_SORT 0
@@ -63,7 +63,7 @@ typedef struct my_stat
{
dev_t st_dev; /* major & minor device numbers */
ino_t st_ino; /* inode number */
- ushort st_mode; /* file permissons (& suid sgid .. bits) */
+ ushort st_mode; /* file permissions (& suid sgid .. bits) */
short st_nlink; /* number of links to file */
ushort st_uid; /* user id */
ushort st_gid; /* group id */
@@ -79,7 +79,7 @@ typedef struct my_stat
#if(_MSC_VER)
#define MY_STAT struct _stati64 /* 64 bit file size */
#else
-#define MY_STAT struct stat /* Orginal struct have what we need */
+#define MY_STAT struct stat /* Original struct has what we need */
#endif
#endif /* USE_MY_STAT_STRUCT */