summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-09 21:33:37 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:49:51 +0100
commit84e742fab42ac270a1cbc548d4a6f6ac82c8124a (patch)
tree70e5bdbca6ff8ca06b9477e8ee2d4fedc8dbe99e /src/fmt.c
parent8ac05f82a263364310dc9d8bfd734c478c03fbdd (diff)
downloadcoreutils-84e742fab42ac270a1cbc548d4a6f6ac82c8124a.tar.xz
maint: prep for global quoting changes: handle irregular cases manually
* src/chroot.c (usage): Change ``...'' to '...', and describe the default more accurately (also adding quotes): s,/bin/sh,'/bin/sh -i', * src/join.c (usage): Change ` ...'' ' to "...''". * src/fmt.c (isopen): Change `' to '` in list of bytes, so that a subsequent change can safely perform the `...' to '...' conversion. * src/truncate.c (main): Tweak quoting in comments to use '...', not `...`, for consistency with the rest of comments in coreutils.
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.c b/src/fmt.c
index e8aaebfd6..42e7bbc7c 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -116,7 +116,7 @@ typedef long int COST;
/* Extra ctype(3)-style macros. */
-#define isopen(c) (strchr ("([`'\"", c) != NULL)
+#define isopen(c) (strchr ("(['`\"", c) != NULL)
#define isclose(c) (strchr (")]'\"", c) != NULL)
#define isperiod(c) (strchr (".?!", c) != NULL)