summaryrefslogtreecommitdiff
path: root/libltdl
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2013-08-23 11:12:57 +0700
committerGary V. Vaughan <gary@gnu.org>2013-08-23 11:12:57 +0700
commite87a65fa0cc132dd195e0c42f110f8e9b49638e1 (patch)
treeb685208b9269bfa975bd61151832914744340bd9 /libltdl
parent5151a7a167ef9c4afc259a843f1aa39063d36f91 (diff)
downloadlibtool-e87a65fa0cc132dd195e0c42f110f8e9b49638e1.tar.gz
maint: correct many abuses of the word "which".
* HACKING, NEWS, TODO, bootstrap, bootstrap.conf, build-aux/ltmain.in, cfg.mk, configure.ac, doc/libtool.texi, doc/notes.texi, gl/build-aux/bootstrap.in, gl/build-aux/extract-trace, gl/build-aux/funclib.sh, gl/doc/bootstrap.texi, libltdl/libltdl/lt_system.h, libltdl/loaders/loadlibrary.c, libltdl/lt__strl.c, libltdl/lt_dlloader.c, libltdl/ltdl.c, libtoolize.in, m4/libtool.m4, m4/ltdl.m4, m4/ltsugar.m4, m4/lt~obsolete.m4, tests/exceptions.at, tests/need_lib_prefix.at, tests/static.at: Use "which" correctly, or replace with "that", "where" or "what" as appropriate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'libltdl')
-rw-r--r--libltdl/libltdl/lt_system.h2
-rw-r--r--libltdl/loaders/loadlibrary.c4
-rw-r--r--libltdl/lt__strl.c8
-rw-r--r--libltdl/lt_dlloader.c2
-rw-r--r--libltdl/ltdl.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/libltdl/libltdl/lt_system.h b/libltdl/libltdl/lt_system.h
index 0bda35cf..34ac718e 100644
--- a/libltdl/libltdl/lt_system.h
+++ b/libltdl/libltdl/lt_system.h
@@ -61,7 +61,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
# define LT_END_C_DECLS /* empty */
#endif
-/* LT_STMT_START/END are used to create macros which expand to a
+/* LT_STMT_START/END are used to create macros that expand to a
a single compound statement in a portable way. */
#if defined __GNUC__ && !defined __STRICT_ANSI__ && !defined __cplusplus
# define LT_STMT_START (void)(
diff --git a/libltdl/loaders/loadlibrary.c b/libltdl/loaders/loadlibrary.c
index ff6d25ec..2800fe6f 100644
--- a/libltdl/loaders/loadlibrary.c
+++ b/libltdl/loaders/loadlibrary.c
@@ -306,7 +306,7 @@ loadlibraryerror (const char *default_errmsg)
return len ? error_message : default_errmsg;
}
-/* A function called through the getthreaderrormode variable which checks
+/* A function called through the getthreaderrormode variable that checks
if the system supports GetThreadErrorMode (or GetErrorMode) and arranges
for it or a fallback implementation to be called directly in the future.
The selected version is then called. */
@@ -339,7 +339,7 @@ fallback_getthreaderrormode (void)
return (DWORD) SetErrorMode (SEM_FAILCRITICALERRORS);
}
-/* A function called through the setthreaderrormode variable which checks
+/* A function called through the setthreaderrormode variable that checks
if the system supports SetThreadErrorMode and arranges for it or a
fallback implementation to be called directly in the future.
The selected version is then called. */
diff --git a/libltdl/lt__strl.c b/libltdl/lt__strl.c
index 065566d6..f84247b9 100644
--- a/libltdl/lt__strl.c
+++ b/libltdl/lt__strl.c
@@ -36,9 +36,9 @@ or obtained by writing to the Free Software Foundation, Inc.,
/*
lt_strlcat appends the NULL-terminated string src to the end of dst.
It will append at most dstsize - strlen(dst) - 1 bytes,
- NULL-terminating the result. The total length of the string which
+ NULL-terminating the result. The total length of the string that
would have been created given sufficient buffer size (may be longer
- than dstsize) is returned. This function substitutes for strlcat()
+ than dstsize) is returned. This function substitutes for strlcat(),
which is available under NetBSD, FreeBSD and Solaris 9.
Buffer overflow can be checked as follows:
@@ -84,9 +84,9 @@ lt_strlcat(char *dst, const char *src, const size_t dstsize)
/*
lt_strlcpy copies up to dstsize - 1 characters from the NULL-terminated
string src to dst, NULL-terminating the result. The total length of
- the string which would have been created given sufficient buffer
+ the string that would have been created given sufficient buffer
size (may be longer than dstsize) is returned. This function
- substitutes for strlcpy() which is available under OpenBSD, FreeBSD
+ substitutes for strlcpy(), which is available under OpenBSD, FreeBSD
and Solaris 9.
Buffer overflow can be checked as follows:
diff --git a/libltdl/lt_dlloader.c b/libltdl/lt_dlloader.c
index f1b95d59..661e01fb 100644
--- a/libltdl/lt_dlloader.c
+++ b/libltdl/lt_dlloader.c
@@ -166,7 +166,7 @@ lt_dlloader_remove (const char *name)
return 0;
}
- /* Fail if there are any open modules which use this loader. */
+ /* Fail if there are any open modules that use this loader. */
iface = lt_dlinterface_register (id_string, NULL);
while ((handle = lt_dlhandle_iterate (iface, handle)))
{
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 82dc013e..43c4e626 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -306,7 +306,7 @@ lt_dlexit (void)
++errors;
}
/* Make sure that the handle pointed to by 'cur' still exists.
- lt_dlclose recursively closes dependent libraries which removes
+ lt_dlclose recursively closes dependent libraries, which removes
them from the linked list. One of these might be the one
pointed to by 'cur'. */
if (cur)