Skip to content

Commit f6525dd

Browse files
author
Father Chrysostomos
committed
[Merge] [RT #36079] Convert ` to '
2 parents 18225a0 + 215757a commit f6525dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+412
-412
lines changed

Copying

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ If the program is interactive, make it output a short notice like this
224224
when it starts in an interactive mode:
225225

226226
Gnomovision version 69, Copyright (C) 19xx name of author
227-
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
227+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type 'show w'.
228228
This is free software, and you are welcome to redistribute it
229-
under certain conditions; type `show c' for details.
229+
under certain conditions; type 'show c' for details.
230230

231-
The hypothetical commands `show w' and `show c' should show the
231+
The hypothetical commands 'show w' and 'show c' should show the
232232
appropriate parts of the General Public License. Of course, the
233-
commands you use may be called something other than `show w' and `show
233+
commands you use may be called something other than 'show w' and 'show
234234
c'; they could even be mouse-clicks or menu items--whatever suits your
235235
program.
236236

@@ -239,7 +239,7 @@ school, if any, to sign a "copyright disclaimer" for the program, if
239239
necessary. Here a sample; alter the names:
240240

241241
Yoyodyne, Inc., hereby disclaims all copyright interest in the
242-
program `Gnomovision' (a program to direct compilers to make passes
242+
program 'Gnomovision' (a program to direct compilers to make passes
243243
at assemblers) written by James Hacker.
244244

245245
<signature of Ty Coon>, 1 April 1989

INSTALL

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ See also the L<"vsprintf"> item below.
14301430
If you get error messages such as the following (the exact line
14311431
numbers and function name may vary in different versions of perl):
14321432

1433-
util.c: In function `Perl_form':
1433+
util.c: In function 'Perl_form':
14341434
util.c:1107: number of arguments doesn't match prototype
14351435
proto.h:125: prototype declaration
14361436

@@ -2031,7 +2031,7 @@ pages, however. You may need to be root to run B<make install>. If you
20312031
are not root, you must still have permission to install into the directories
20322032
in question and you should ignore any messages about chown not working.
20332033

2034-
If "make install" just says "`install' is up to date" or something
2034+
If "make install" just says "'install' is up to date" or something
20352035
similar, you may be on a case-insensitive filesystems such as Mac's HFS+,
20362036
and you should say "make install-all". (This confusion is brought to you
20372037
by the Perl distribution having a file called INSTALL.)

Porting/Glossary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file is built by metaconfig.
44

55
This file contains a description of all the shell variables whose value is
66
determined by the Configure script. Variables intended for use in C
7-
programs (e.g. I_UNISTD) are already described in config_h.SH. [`configpm'
7+
programs (e.g. I_UNISTD) are already described in config_h.SH. ['configpm'
88
generates pod documentation for Config.pm from this file--please try to keep
99
the formatting regular.]
1010

Porting/bisect-runner.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ sub patch_hints {
14241424
cccdlflags="-DPIC -fPIC $cccdlflags"
14251425
lddlflags="--whole-archive -shared $lddlflags"
14261426
elif [ "`uname -m`" = "pmax" ]; then
1427-
# NetBSD 1.3 and 1.3.1 on pmax shipped an `old' ld.so, which will not work.
1427+
# NetBSD 1.3 and 1.3.1 on pmax shipped an 'old' ld.so, which will not work.
14281428
d_dlopen=$undef
14291429
elif [ -f /usr/libexec/ld.so ]; then
14301430
d_dlopen=$define

README.os2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ Here is the sample C file:
14611461

14621462
if (_execname(buf, sizeof(buf) - 13) != 0)
14631463
die_with("Can't find full path: ", strerror(errno), "", "");
1464-
/* XXXX Fill `me' with new value */
1464+
/* XXXX Fill 'me' with new value */
14651465
l = strlen(buf);
14661466
while (l && buf[l-1] != '/' && buf[l-1] != '\\')
14671467
l--;

README.tru64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ necessary, and also gives advice on how to raise the process limits.
3737
Also, Configure might abort with
3838

3939
Build a threading Perl? [n]
40-
Configure[2437]: Syntax error at line 1 : `config.sh' is not expected.
40+
Configure[2437]: Syntax error at line 1 : 'config.sh' is not expected.
4141

4242
This indicates that Configure is being run with a broken Korn shell
4343
(even though you think you are using a Bourne shell by using

dist/B-Deparse/Deparse.pm

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,21 @@ BEGIN {
4444
# - fixed reference constants (\"str")
4545
# - handle empty programs gracefully
4646
# - handle infinite loops (for (;;) {}, while (1) {})
47-
# - differentiate between `for my $x ...' and `my $x; for $x ...'
47+
# - differentiate between 'for my $x ...' and 'my $x; for $x ...'
4848
# - various minor cleanups
4949
# - moved globals into an object
50-
# - added `-u', like B::C
50+
# - added '-u', like B::C
5151
# - package declarations using cop_stash
5252
# - subs, formats and code sorted by cop_seq
5353
# Changes between 0.51 and 0.52:
5454
# - added pp_threadsv (special variables under USE_5005THREADS)
5555
# - added documentation
5656
# Changes between 0.52 and 0.53:
5757
# - many changes adding precedence contexts and associativity
58-
# - added `-p' and `-s' output style options
58+
# - added '-p' and '-s' output style options
5959
# - various other minor fixes
6060
# Changes between 0.53 and 0.54:
61-
# - added support for new `for (1..100)' optimization,
61+
# - added support for new 'for (1..100)' optimization,
6262
# thanks to Gisle Aas
6363
# Changes between 0.54 and 0.55:
6464
# - added support for new qr// construct
@@ -67,16 +67,16 @@ BEGIN {
6767
# - tested on base/*.t, cmd/*.t, comp/*.t, io/*.t
6868
# - fixed $# on non-lexicals broken in last big rewrite
6969
# - added temporary fix for change in opcode of OP_STRINGIFY
70-
# - fixed problem in 0.54's for() patch in `for (@ary)'
70+
# - fixed problem in 0.54's for() patch in 'for (@ary)'
7171
# - fixed precedence in conditional of ?:
72-
# - tweaked list paren elimination in `my($x) = @_'
72+
# - tweaked list paren elimination in 'my($x) = @_'
7373
# - made continue-block detection trickier wrt. null ops
7474
# - fixed various prototype problems in pp_entersub
7575
# - added support for sub prototypes that never get GVs
7676
# - added unquoting for special filehandle first arg in truncate
77-
# - print doubled rv2gv (a bug) as `*{*GV}' instead of illegal `**GV'
77+
# - print doubled rv2gv (a bug) as '*{*GV}' instead of illegal '**GV'
7878
# - added semicolons at the ends of blocks
79-
# - added -l `#line' declaration option -- fixes cmd/subval.t 27,28
79+
# - added -l '#line' declaration option -- fixes cmd/subval.t 27,28
8080
# Changes between 0.56 and 0.561:
8181
# - fixed multiply-declared my var in pp_truncate (thanks to Sarathy)
8282
# - used new B.pm symbolic constants (done by Nick Ing-Simmons)
@@ -89,7 +89,7 @@ BEGIN {
8989
# Changes after 0.57:
9090
# - added parens in \&foo (patch by Albert Dvornik)
9191
# Changes between 0.57 and 0.58:
92-
# - fixed `0' statements that weren't being printed
92+
# - fixed '0' statements that weren't being printed
9393
# - added methods for use from other programs
9494
# (based on patches from James Duncan and Hugo van der Sanden)
9595
# - added -si and -sT to control indenting (also based on a patch from Hugo)
@@ -101,7 +101,7 @@ BEGIN {
101101
# Changes between 0.58 and 0.59
102102
# - added support for Chip's OP_METHOD_NAMED
103103
# - added support for Ilya's OPpTARGET_MY optimization
104-
# - elided arrows before `()' subscripts when possible
104+
# - elided arrows before '()' subscripts when possible
105105
# Changes between 0.59 and 0.60
106106
# - support for method attributes was added
107107
# - some warnings fixed
@@ -151,7 +151,7 @@ BEGIN {
151151
# - configurable syntax highlighting: ANSI color, HTML, TeX, etc.
152152
# - more style options: brace style, hex vs. octal, quotes, ...
153153
# - print big ints as hex/octal instead of decimal (heuristic?)
154-
# - handle `my $x if 0'?
154+
# - handle 'my $x if 0'?
155155
# - version using op_next instead of op_first/sibling?
156156
# - avoid string copies (pass arrays, one big join?)
157157
# - here-docs?
@@ -249,7 +249,7 @@ BEGIN {
249249
# parens: -p
250250
# linenums: -l
251251
# unquote: -q
252-
# cuddle: ` ' or `\n', depending on -sC
252+
# cuddle: ' ' or '\n', depending on -sC
253253
# indent_size: -si
254254
# use_tabs: -sT
255255
# ex_const: -sv
@@ -263,7 +263,7 @@ BEGIN {
263263
# they're inside an expression or at statement level, etc. (see
264264
# chart below). When ops with children call deparse on them, they pass
265265
# along their precedence. Fractional values are used to implement
266-
# associativity (`($x + $y) + $z' => `$x + $y + $y') and related
266+
# associativity ('($x + $y) + $z' => '$x + $y + $y') and related
267267
# parentheses hacks. The major disadvantage of this scheme is that
268268
# it doesn't know about right sides and left sides, so say if you
269269
# assign a listop to a variable, it can't tell it's allowed to leave
@@ -303,7 +303,7 @@ BEGIN {
303303
# \cS - steal parens (see maybe_parens_unop)
304304
# \n - newline and indent
305305
# \t - increase indent
306-
# \b - decrease indent (`outdent')
306+
# \b - decrease indent ('outdent')
307307
# \f - flush left (no indent)
308308
# \cK - kill following semicolon, if any
309309

@@ -950,7 +950,7 @@ sub is_state {
950950
return $name eq "nextstate" || $name eq "dbstate" || $name eq "setstate";
951951
}
952952

953-
sub is_miniwhile { # check for one-line loop (`foo() while $y--')
953+
sub is_miniwhile { # check for one-line loop ('foo() while $y--')
954954
my $op = shift;
955955
return (!null($op) and null($op->sibling)
956956
and $op->name eq "null" and class($op) eq "UNOP"
@@ -1010,7 +1010,7 @@ sub maybe_parens {
10101010
}
10111011
}
10121012

1013-
# same as above, but get around the `if it looks like a function' rule
1013+
# same as above, but get around the 'if it looks like a function' rule
10141014
sub maybe_parens_unop {
10151015
my $self = shift;
10161016
my($name, $kid, $cx) = @_;
@@ -1031,7 +1031,7 @@ sub maybe_parens_unop {
10311031
return $name . substr($kid, 1);
10321032
} elsif (substr($kid, 0, 1) eq "(") {
10331033
# avoid looks-like-a-function trap with extra parens
1034-
# (`+' can lead to ambiguities)
1034+
# ('+' can lead to ambiguities)
10351035
return "$name(" . $kid . ")";
10361036
} else {
10371037
return "$name $kid";
@@ -2011,7 +2011,7 @@ sub ftst {
20112011
my $self = shift;
20122012
my($op, $cx, $name) = @_;
20132013
if (class($op) eq "UNOP") {
2014-
# Genuine `-X' filetests are exempt from the LLAFR, but not
2014+
# Genuine '-X' filetests are exempt from the LLAFR, but not
20152015
# l?stat(); for the sake of clarity, give'em all parens
20162016
return $self->maybe_parens_unop($name, $op->first, $cx);
20172017
} elsif (class($op) =~ /^(SV|PAD)OP$/) {
@@ -2061,7 +2061,7 @@ sub assoc_class {
20612061
my $op = shift;
20622062
my $name = $op->name;
20632063
if ($name eq "concat" and $op->first->name eq "concat") {
2064-
# avoid spurious `=' -- see comment in pp_concat
2064+
# avoid spurious '=' -- see comment in pp_concat
20652065
return "concat";
20662066
}
20672067
if ($name eq "null" and class($op) eq "UNOP"
@@ -2078,7 +2078,7 @@ sub assoc_class {
20782078
return $name . ($op->flags & OPf_STACKED ? "=" : "");
20792079
}
20802080

2081-
# Left associative operators, like `+', for which
2081+
# Left associative operators, like '+', for which
20822082
# $a + $b + $c is equivalent to ($a + $b) + $c
20832083

20842084
BEGIN {
@@ -2109,7 +2109,7 @@ sub deparse_binop_left {
21092109
}
21102110
}
21112111

2112-
# Right associative operators, like `=', for which
2112+
# Right associative operators, like '=', for which
21132113
# $a = $b = $c is equivalent to $a = ($b = $c)
21142114

21152115
BEGIN {
@@ -2216,9 +2216,9 @@ sub pp_smartmatch {
22162216
}
22172217
}
22182218

2219-
# `.' is special because concats-of-concats are optimized to save copying
2219+
# '.' is special because concats-of-concats are optimized to save copying
22202220
# by making all but the first concat stacked. The effect is as if the
2221-
# programmer had written `($a . $b) .= $c', except legal.
2221+
# programmer had written '($a . $b) .= $c', except legal.
22222222
sub pp_concat { maybe_targmy(@_, \&real_concat) }
22232223
sub real_concat {
22242224
my $self = shift;
@@ -2236,7 +2236,7 @@ sub real_concat {
22362236
return $self->maybe_parens("$left .$eq $right", $cx, $prec);
22372237
}
22382238

2239-
# `x' is weird when the left arg is a list
2239+
# 'x' is weird when the left arg is a list
22402240
sub pp_repeat {
22412241
my $self = shift;
22422242
my($op, $cx) = @_;
@@ -3254,7 +3254,7 @@ sub _method {
32543254
# doesn't get flattened by the append_elem that adds the method,
32553255
# making a (object, arg1, arg2, ...) list where the object
32563256
# usually is. This can be distinguished from
3257-
# `($obj, $arg1, $arg2)->meth()' (which is legal if $arg2 is an
3257+
# '($obj, $arg1, $arg2)->meth()' (which is legal if $arg2 is an
32583258
# object) because in the later the list is in scalar context
32593259
# as the left side of -> always is, while in the former
32603260
# the list is in list context as method arguments always are.
@@ -3387,7 +3387,7 @@ sub check_proto {
33873387
}
33883388
}
33893389
}
3390-
return "&" if $proto and !$doneok; # too few args and no `;'
3390+
return "&" if $proto and !$doneok; # too few args and no ';'
33913391
return "&" if @args; # too many args
33923392
return ("", join ", ", @reals);
33933393
}
@@ -3862,7 +3862,7 @@ sub pp_const {
38623862
if ($op->private & OPpCONST_ARYBASE) {
38633863
return '$[';
38643864
}
3865-
# if ($op->private & OPpCONST_BARE) { # trouble with `=>' autoquoting
3865+
# if ($op->private & OPpCONST_BARE) { # trouble with '=>' autoquoting
38663866
# return $self->const_sv($op)->PV;
38673867
# }
38683868
my $sv = $self->const_sv($op);
@@ -3939,7 +3939,7 @@ sub double_delim {
39393939
if (($succeed, $to) = balanced_delim($to) and $succeed) {
39403940
return "$from$to";
39413941
} else {
3942-
for $delim ('/', '"', '#') { # note no `'' -- s''' is special
3942+
for $delim ('/', '"', '#') { # note no "'" -- s''' is special
39433943
return "$from$delim$to$delim" if index($to, $delim) == -1;
39443944
}
39453945
$to =~ s[/][\\/]g;

dist/Cwd/Cwd.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ use strict;
171171
use Exporter;
172172
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
173173

174-
$VERSION = '3.37';
174+
$VERSION = '3.38';
175175
my $xs_version = $VERSION;
176176
$VERSION = eval $VERSION;
177177

dist/Cwd/Cwd.xs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* products derived from this software without specific prior written
3737
* permission.
3838
*
39-
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
39+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
4040
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4141
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
4242
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
@@ -96,11 +96,11 @@ bsd_realpath(const char *path, char resolved[MAXPATHLEN])
9696
}
9797

9898
/*
99-
* Iterate over path components in `left'.
99+
* Iterate over path components in 'left'.
100100
*/
101101
while (left_len != 0) {
102102
/*
103-
* Extract the next path component and adjust `left'
103+
* Extract the next path component and adjust 'left'
104104
* and its length.
105105
*/
106106
p = strchr(left, '/');
@@ -186,7 +186,7 @@ bsd_realpath(const char *path, char resolved[MAXPATHLEN])
186186
/*
187187
* If there are any path components left, then
188188
* append them to symlink. The result is placed
189-
* in `left'.
189+
* in 'left'.
190190
*/
191191
if (p != NULL) {
192192
if (symlink[slen - 1] != '/') {

dist/Cwd/t/rel2abs2rel.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ sub sayok{
5858
print "# Checking manipulations of \$^X=$^X\n";
5959

6060
my $perl = safe_rel($^X);
61-
is( sayok($perl), "ok\n", "`$perl rel2abs2rel$$.pl` works" );
61+
is( sayok($perl), "ok\n", "'$perl rel2abs2rel$$.pl' works" );
6262

6363
$perl = File::Spec->rel2abs($^X);
64-
is( sayok($perl), "ok\n", "`$perl rel2abs2rel$$.pl` works" );
64+
is( sayok($perl), "ok\n", "'$perl rel2abs2rel$$.pl' works" );
6565

6666
$perl = File::Spec->canonpath($perl);
6767
is( sayok($perl), "ok\n", "canonpath(rel2abs($^X)) = $perl" );

dist/Dumpvalue/lib/Dumpvalue.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use 5.006_001; # for (defined ref) and $#$v and our
22
package Dumpvalue;
33
use strict;
4-
our $VERSION = '1.16';
4+
our $VERSION = '1.17';
55
our(%address, $stab, @stab, %stab, %subs);
66

77
# documentation nits, handle complex data structures better by chromatic
@@ -15,7 +15,7 @@ our(%address, $stab, @stab, %stab, %subs);
1515
# (IZ) changes for objectification:
1616
# c) quote() renamed to method set_quote();
1717
# d) unctrlSet() renamed to method set_unctrl();
18-
# f) Compiles with `use strict', but in two places no strict refs is needed:
18+
# f) Compiles with 'use strict', but in two places no strict refs is needed:
1919
# maybe more problems are waiting...
2020

2121
my %defaults = (
@@ -299,7 +299,7 @@ sub set_unctrl {
299299
if ($in eq 'unctrl' or $in eq 'quote') {
300300
$self->{unctrl} = $in;
301301
} else {
302-
print "Unknown value for `unctrl'.\n";
302+
print "Unknown value for 'unctrl'.\n";
303303
}
304304
}
305305
$self->{unctrl};

dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use File::Basename ();
66
use Perl::OSType qw/os_type/;
77

88
use vars qw($VERSION @ISA);
9-
$VERSION = '0.280204';
9+
$VERSION = '0.280205';
1010
$VERSION = eval $VERSION;
1111

1212
# We only use this once - don't waste a symbol table entry on it.

0 commit comments

Comments
 (0)