summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2006-10-21 13:25:26 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-10-21 13:25:26 +0200
commitf65624a805403a9a57c991795927db55dcebf5c1 (patch)
treeb11bbd2c54a24dfbe4dab4a510fbc544c0f3604a
parent3e1ce3d550b37d6f833c01860b24166a89908576 (diff)
Unify wording all over the tree
According to the Linux source it's: * s/linux/Linux/ * s/Kernel/kernel/ * s/Inotify/inotify/ (except at the beginning of a sentence)
-rw-r--r--README2
-rw-r--r--inotail.12
-rw-r--r--inotail.c4
-rw-r--r--inotail.h4
-rw-r--r--inotify-syscalls.h2
-rw-r--r--inotify.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/README b/README
index d931e29..bb15369 100644
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ inotail is licensed under the terms of the GNU General Public License Version 2.
You can find the full text in the file LICENSE in the source tree of inotail.
The files inotify.h and inotify-syscalls.h were taken from the source tree of
-the linux kernel and slightly altered. Both are licensed under the terms of the
+the Linux kernel and slightly altered. Both are licensed under the terms of the
GNU General Public License v2.
-- Tobias Klauser <tklauser@distanz.ch>
diff --git a/inotail.1 b/inotail.1
index 2eb3deb..a623f0a 100644
--- a/inotail.1
+++ b/inotail.1
@@ -23,7 +23,7 @@ of the Linux kernel to speed up tailing files in the follow mode (the '\-f'
option). Standard tail polls the file every second by default while inotail
listens to special events sent by the kernel through the inotify API to
determine whether a file needs to be reread. \fINote:\fR inotail will not work
-on systems running kernels without Inotify. To enable Inotify , please set
+on systems running a kernel without inotify. To enable inotify, please set
CONFIG_INOTIFY=y in your kernel configuration and recompile it.
.PP
Currently inotail is not fully compatible to neither POSIX or GNU tail but might
diff --git a/inotail.c b/inotail.c
index 123a3fa..52b1e91 100644
--- a/inotail.c
+++ b/inotail.c
@@ -1,7 +1,7 @@
/*
* inotail.c
- * A fast implementation of tail which uses the inotify-API present in
- * recent Linux Kernels.
+ * A fast implementation of tail which uses the inotify API present in
+ * recent versions of the Linux kernel.
*
* Copyright (C) 2005-2006, Tobias Klauser <tklauser@distanz.ch>
*
diff --git a/inotail.h b/inotail.h
index 40b0e29..a1ec676 100644
--- a/inotail.h
+++ b/inotail.h
@@ -28,9 +28,9 @@ struct file_struct {
#endif /* DEBUG */
#ifdef __GNUC__
-# define unlikely(x) __builtin_expect(!!(x), 0) /* Taken from linux kernel source */
+# define unlikely(x) __builtin_expect(!!(x), 0)
#else
# define unlikely(x) (x)
-#endif
+#endif /* __GNUC__ */
#endif /* _INOTAIL_H */
diff --git a/inotify-syscalls.h b/inotify-syscalls.h
index fa6dcd4..a1d5408 100644
--- a/inotify-syscalls.h
+++ b/inotify-syscalls.h
@@ -1,6 +1,6 @@
/*
* Inotify syscall numbers
- * Taken from the linux kernel source tree
+ * Taken from the Linux kernel source tree
*
* Licensed under the terms of the GNU General Public License Version 2.
*
diff --git a/inotify.h b/inotify.h
index 7eb37ca..cd8062a 100644
--- a/inotify.h
+++ b/inotify.h
@@ -1,6 +1,6 @@
/*
* Inode based directory notification for Linux
- * Taken from the linux kernel source tree
+ * Taken from the Linux kernel source tree
*
* Licensed under the terms of the GNU General Public License Version 2.
*