]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: fix "behaviour" vs. "behavior"
authorKarel Zak <kzak@redhat.com>
Fri, 6 Jun 2014 07:49:35 +0000 (09:49 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Jun 2014 07:49:35 +0000 (09:49 +0200)
Sometimes we use "behaviour" and "behavior" in the same text, let's
use "behavior" only everywhere.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1011068
Signed-off-by: Karel Zak <kzak@redhat.com>
12 files changed:
Documentation/howto-contribute.txt
NEWS
disk-utils/mkfs.bfs.c
lib/terminal-colors.d.5
libblkid/src/partitions/aix.c
libmount/python/context.c
m4/ul.m4
sys-utils/ctrlaltdel.c
sys-utils/mount.8
term-utils/agetty.8
term-utils/script.c
text-utils/pg.1

index a638a1db585a99fdfb72d45d66fe5d4f90b5e4e4..d9151d9dd671f00f81bad49d49c0271926882a42 100644 (file)
@@ -73,8 +73,8 @@ Before sending a patch
        * make sure that after patching source files will compile without
          errors.
 
-       * test that previously existed program behaviour is not
-         unintentionally alterred. If you alter the behaviour tell about in
+       * test that previously existed program behavior is not
+         unintentionally alterred. If you alter the behavior tell about in
          commit message.
 
 Coding style
diff --git a/NEWS b/NEWS
index d5857a4ebe05231dac18bb206035eb1612407102..648199a1ea90f3e41b4b1d658b5cf260f1b4bfdd 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1197,7 +1197,7 @@ util-linux 2.9b:
 
 * split README into INSTALL and HISTORY
 * added a sentence to swapon.8
-* behaviour of write on non-ASCII fixed
+* behavior of write on non-ASCII fixed
 * hwclock adapted to survive a failing mktime()
 
 util-linux 2.9a:
index dcdb09850e88d10e1f6dcaebb4733dacb4889d66..23098e4e4529951c2419d5c39fd94258584b5a19 100644 (file)
@@ -221,7 +221,7 @@ int main(int argc, char **argv)
        ino_blocks = (ino_bytes + BFS_BLOCKSIZE - 1) / BFS_BLOCKSIZE;
        data_blocks = total_blocks - ino_blocks - 1;
 
-       /* mimic the behaviour of SCO's mkfs - maybe this limit is needed */
+       /* mimic the behavior of SCO's mkfs - maybe this limit is needed */
        if (data_blocks < 32)
                errx(EXIT_FAILURE,
                     _("not enough space, need at least %llu blocks"),
index d16d7674a8f96f7e831b627486da3fcf32fc3922..ab0a3491327ff995699034b2684389d5f6198ac3 100644 (file)
@@ -9,7 +9,7 @@ terminal-colors.d \- Configure output colorization for various utilities
 .SH "SYNOPSIS"
 /etc/terminal-colors\&.d/[[name][@term]\&.][type]
 .SH "DESCRIPTION"
-Files in this directory determine the default behaviour for utilities
+Files in this directory determine the default behavior for utilities
 when coloring output.
 
 The
index fa64c38ad3dcf9a22c3f213eacb8c1ad06a6fb04..4efdfa33d0702f8e362ed01329f1795b2b01a91a 100644 (file)
@@ -40,7 +40,7 @@ static int probe_aix_pt(blkid_probe pr,
  * magic number at begin of the disk.
  *
  * Note, Linux kernel is tring to be smart and AIX signature is ignored when
- * there is a valid DOS partitions table. We don't support such behaviour. All
+ * there is a valid DOS partitions table. We don't support such behavior. All
  * fdisk-like programs has to properly wipe the fist sector. Everything other
  * is a bug.
  */
index 408c8bd7593e3baa24b07133ebafbf832727bbbf..623239436a7f0f38eacd2982035ba92007c05d95 100644 (file)
@@ -627,7 +627,7 @@ static int Context_set_mflags(ContextObjext *self, PyObject *value, void *closur
        return mnt_context_set_mflags(self->cxt, flags);
 }
 
-/* returns a flags integer (behaviour differs from C API) */
+/* returns a flags integer (behavior differs from C API) */
 static PyObject *Context_get_mflags(ContextObjext *self)
 {
        unsigned long flags;
@@ -641,7 +641,7 @@ static PyObject *Context_get_mflags(ContextObjext *self)
        return result;
 
 }
-/* returns a flags integer (behaviour differs from C API) */
+/* returns a flags integer (behavior differs from C API) */
 static PyObject *Context_get_user_mflags(ContextObjext *self)
 {
        unsigned long flags;
index 8bfa9d9c0bb21a0f4716d81a004aaeb597372c4d..b8a5390e3beecb9795bfded4f2b6d761d957b9dd 100644 (file)
--- a/m4/ul.m4
+++ b/m4/ul.m4
@@ -13,7 +13,7 @@ AC_DEFUN([UL_PKG_STATIC], [
 
 dnl UL_CHECK_LIB(LIBRARY, FUNCTION, [VARSUFFIX = $1]))
 dnl
-dnl The VARSUFFIX is optional and overrides the default behaviour. For example:
+dnl The VARSUFFIX is optional and overrides the default behavior. For example:
 dnl     UL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX
 dnl     UL_CHECK_LIB(yyy, func)      generates have_yyy and HAVE_LIBYYY
 dnl
index 074f247a92cedde5c72f23b55c47d9068cc463f9..df13d088c4ec1095d8179fea86a8e06d41915c47 100644 (file)
@@ -53,7 +53,7 @@ int main(int argc, char **argv)
 
        if (geteuid())
                errx(EXIT_FAILURE,
-                    _("You must be root to set the Ctrl-Alt-Del behaviour"));
+                    _("You must be root to set the Ctrl-Alt-Del behavior"));
 
        if (argc == 2 && !strcmp("hard", argv[1])) {
                if (my_reboot(LINUX_REBOOT_CMD_CAD_ON) < 0)
index efa1ae8ddc2cc85fa335fd4a6503e7051a18569b..d2fe2a640132529eec227110c841706dc1fa5726 100644 (file)
@@ -262,7 +262,7 @@ you have to use:
 and then the mount options from command line will be appended to
 the list of options from
 .IR /etc/fstab .
-The usual behaviour is that the last option wins if there is more duplicated
+The usual behavior is that the last option wins if there is more duplicated
 options.
 
 When the
@@ -1081,7 +1081,7 @@ but still allow userspace to override it. For more details about the default
 system mount options see /proc/mounts.
 .TP
 .B nostrictatime
-Use the kernel's default behaviour for inode access time updates.
+Use the kernel's default behavior for inode access time updates.
 .TP
 .B suid
 Allow set-user-identifier or set-group-identifier bits to take
@@ -1365,15 +1365,15 @@ Support POSIX Access Control Lists (or not).
 .\" requires CONFIG_EXT2_FS_POSIX_ACL
 .TP
 .BR bsddf | minixdf
-Set the behaviour for the
+Set the behavior for the
 .I statfs
 system call. The
 .B minixdf
-behaviour is to return in the
+behavior is to return in the
 .I f_blocks
 field the total number of blocks of the filesystem, while the
 .B bsddf
-behaviour (which is the default) is to subtract the overhead blocks
+behavior (which is the default) is to subtract the overhead blocks
 used by the ext2 filesystem and not available for file storage. Thus
 .sp 1
 % mount /k \-o minixdf; df /k; umount /k
@@ -1411,7 +1411,7 @@ don't have to be supported if ext4 kernel driver is used for ext2 and ext3 files
 Print debugging info upon each (re)mount.
 .TP
 .BR errors= { continue | remount-ro | panic }
-Define the behaviour when an error is encountered.
+Define the behavior when an error is encountered.
 (Either ignore errors and just mark the filesystem erroneous and continue,
 or remount the filesystem read-only, or panic and halt the system.)
 The default is set in the filesystem superblock, and can be
@@ -2091,7 +2091,7 @@ a volume where the
 option was previously specified in order to restore normal behavior.
 .TP
 .BR errors= { continue | remount-ro | panic }
-Define the behaviour when an error is encountered.
+Define the behavior when an error is encountered.
 (Either ignore errors and just mark the filesystem erroneous and continue,
 or remount the filesystem read-only, or panic and halt the system.)
 .TP
@@ -2540,7 +2540,7 @@ The same filesystem type is also used by Mac OS X.
 
 .TP
 .BI onerror= value
-Set behaviour on error:
+Set behavior on error:
 .RS
 .TP
 .B panic
@@ -2594,7 +2594,7 @@ disabled.
 .TP
 .BR shortname= { lower | win95 | winnt | mixed }
 
-Defines the behaviour for creation and display of filenames which fit into
+Defines the behavior for creation and display of filenames which fit into
 8.3 characters. If a long name for a file exists, it will always be
 preferred display. There are four modes:
 :
@@ -2644,12 +2644,12 @@ doing delayed allocation writeout. Valid values for this
 option are page size (typically 4KiB) through to 1GiB,
 inclusive, in power-of-2 increments.
 .sp
-The default behaviour is for dynamic end-of-file
+The default behavior is for dynamic end-of-file
 preallocation size, which uses a set of heuristics to
 optimise the preallocation size based on the current
 allocation patterns within the file and the access patterns
 to the file. Specifying a fixed allocsize value turns off
-the dynamic behaviour.
+the dynamic behavior.
 .TP
 .BR attr2 | noattr2
 The options enable/disable an "opportunistic" improvement to
@@ -2659,8 +2659,8 @@ attr2 is selected (either when setting or removing extended
 attributes) the on-disk superblock feature bit field will be
 updated to reflect this format being in use.
 .sp
-The default behaviour is determined by the on-disk feature
-bit indicating that attr2 behaviour is active. If either
+The default behavior is determined by the on-disk feature
+bit indicating that attr2 behavior is active. If either
 mount option it set, then that becomes the new default used
 by the filesystem.
 .sp
@@ -2732,7 +2732,7 @@ If "largeio" specified, a filesystem that was created with a
 "swidth" specified will return the "swidth" value (in bytes)
 in st_blksize. If the filesystem does not have a "swidth"
 specified but does specify an "allocsize" then "allocsize"
-(in bytes) will be returned instead. Otherwise the behaviour
+(in bytes) will be returned instead. Otherwise the behavior
 is the same as if "nolargeio" was specified.
 .TP
 .B logbufs=value
index a39d81fcd6d76a300b38605e1be4ca07ab1e5066..27a0d1b8670863f54c8c37c34e9ae57b3a5fc166 100644 (file)
@@ -92,7 +92,7 @@ Assume that the tty is 8-bit clean, hence disable parity detection.
 Log the specified user automatically in without asking for a login name and
 password. The \-f \fIusername\fP option is added to the \fB/bin/login\fP
 command line by default. The \-\-login-options option changes this default
-behaviour and then only \\u is replaced by the \fIusername\fP and no other
+behavior and then only \\u is replaced by the \fIusername\fP and no other
 option is added to the login command line.
 .TP
 \-c, \-\-noreset
index 1ae34627f759675d1820c074b7101a8f136ced28..1530e6726e391129cb624e73e7b7d3d1507c1fbf 100644 (file)
@@ -525,7 +525,7 @@ doshell(void) {
        /*
         * When invoked from within /etc/csh.login, script spawns a csh shell
         * that spawns programs that cannot be killed with a SIGTERM. This is
-        * because csh has a documented behaviour wherein it disables all
+        * because csh has a documented behavior wherein it disables all
         * signals when processing the /etc/csh.* files.
         *
         * Let's restore the default behavior.
index 09fd51dd99478d4e837bfec39155b6a02e8b3b5c..07105b5b1c8a2d350c4503e1da6be864f7b4234c 100644 (file)
@@ -198,7 +198,7 @@ In all other situations these keys will terminate
 .BR pg .
 .SH "ENVIRONMENT VARIABLES"
 The following environment variables
-affect the behaviour of
+affect the behavior of
 .BR pg :
 .TP
 .B COLUMNS