summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-08 21:03:22 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:51:59 +0100
commit3ba8b044267a5f7cfa8a7b0d7f19dab3f21431da (patch)
tree576e37b75cd77b289313b23676b6bebc08c1e23b /src/ln.c
parenta517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4 (diff)
downloadcoreutils-3ba8b044267a5f7cfa8a7b0d7f19dab3f21431da.tar.xz
maint: src/*.[ch]: convert more `...' to '...'
Run this (twice): git grep -E -l '`.+'\' src/*.[ch] \ |xargs perl -pi -e 's/`(.+?'\'')/'\''$1/'
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ln.c b/src/ln.c
index bd2f62d66..8aeccb1ec 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -65,7 +65,7 @@ static bool hard_dir_link;
/* If nonzero, and the specified destination is a symbolic link to a
directory, treat it just as if it were a directory. Otherwise, the
- command `ln --force --no-dereference file symlink-to-dir' deletes
+ command 'ln --force --no-dereference file symlink-to-dir' deletes
symlink-to-dir before creating the new link. */
static bool dereference_dest_dir_symlinks = true;
@@ -195,9 +195,9 @@ do_link (const char *source, const char *dest)
the command in question doesn't use --force. */
|| (!symbolic_link && backup_type != no_backups))
&& dest_lstat_ok
- /* Allow `ln -sf --backup k k' to succeed in creating the
+ /* Allow 'ln -sf --backup k k' to succeed in creating the
self-referential symlink, but don't allow the hard-linking
- equivalent: `ln -f k k' (with or without --backup) to get
+ equivalent: 'ln -f k k' (with or without --backup) to get
beyond this point, because the error message you'd get is
misleading. */
&& (backup_type == no_backups || !symbolic_link)