summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-09 22:38:24 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 22:38:24 +0100
commitbfe711db1c07e73a5806647a637f609eb8c1773d (patch)
tree1a1ebfa10d4d6c39e2387e91f298bf6bf43af997 /lib
parent3ba8b044267a5f7cfa8a7b0d7f19dab3f21431da (diff)
downloadcoreutils-bfe711db1c07e73a5806647a637f609eb8c1773d.tar.xz
maint: straggler *.[ch] files: convert more `...' to '...'
The preceding commands ignored .[ch] files in lib/ and gl/. This is what I should have been doing from the start: git grep -l '`.*'\' $(g ls-files |grep '\.[ch]$') \ | xargs perl -pi -e 's/`(.+?'\'')/'\''$1/'
Diffstat (limited to 'lib')
-rw-r--r--lib/fd-reopen.c2
-rw-r--r--lib/strnumcmp-in.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/fd-reopen.c b/lib/fd-reopen.c
index 8a57f8cc1..42008ef50 100644
--- a/lib/fd-reopen.c
+++ b/lib/fd-reopen.c
@@ -26,7 +26,7 @@
#include <unistd.h>
/* Open a file to a particular file descriptor. This is like standard
- `open', except it always returns DESIRED_FD if successful. */
+ 'open', except it always returns DESIRED_FD if successful. */
int
fd_reopen (int desired_fd, char const *file, int flags, mode_t mode)
diff --git a/lib/strnumcmp-in.h b/lib/strnumcmp-in.h
index 35d5ac095..e8a9d9f2b 100644
--- a/lib/strnumcmp-in.h
+++ b/lib/strnumcmp-in.h
@@ -34,7 +34,7 @@
- It's typically faster.
POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to
isdigit unless it's important to use the locale's definition
- of `digit' even when the host does not conform to POSIX. */
+ of 'digit' even when the host does not conform to POSIX. */
# define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9)