File: spelling-errors.patch

package info (click to toggle)
libapreq2 2.17-3~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 5,108 kB
  • sloc: ansic: 8,263; perl: 5,451; sh: 4,627; cpp: 380; makefile: 270; javascript: 186
file content (46 lines) | stat: -rw-r--r-- 2,101 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Fix spelling errors.
 * mimicing   -> mimicking
 * paramaters -> parameters
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://bz.apache.org/bugzilla/show_bug.cgi?id=66640

--- a/docs/html/group__apreq__xs__request.html
+++ b/docs/html/group__apreq__xs__request.html
@@ -159,7 +159,7 @@ my $req = Apache2::Request-&gt;new($r,
 <pre><code>$req-&gt;param()
 $req-&gt;param($name)</code></pre>
 
-<p>Get the request parameters (using case-insensitive keys) by mimicing the OO interface of <code>CGI::param</code>.</p>
+<p>Get the request parameters (using case-insensitive keys) by mimicking the OO interface of <code>CGI::param</code>.</p>
 
 <pre><code># similar to CGI.pm
 
@@ -308,7 +308,7 @@ sub new {
 <li><p><code>param</code> includes the functionality of <code>parms()</code> and <code>params()</code>, so they are now deprecated and may be removed from a future 2.X release.</p>
 
 </li>
-<li><p><code>param</code> called in a list context no longer returns a unique list of paramaters. The returned list contains multiple instances of the parameter name for multivalued fields.</p>
+<li><p><code>param</code> called in a list context no longer returns a unique list of parameters. The returned list contains multiple instances of the parameter name for multivalued fields.</p>
 
 </li>
 </ul>
--- a/glue/perl/lib/Apache2/Request.pm
+++ b/glue/perl/lib/Apache2/Request.pm
@@ -180,7 +180,7 @@ to ease the pain of porting from 1.X to
     $req->param($name)
 
 Get the request parameters (using case-insensitive keys) by
-mimicing the OO interface of C<CGI::param>.
+mimicking the OO interface of C<CGI::param>.
 
 
     # similar to CGI.pm
@@ -418,7 +418,7 @@ addressed when porting 1.X apps to the n
         they are now deprecated and may be removed from a future 2.X release.
 
 =item * C<param> called in a list context no longer returns a unique list of
-        paramaters.  The returned list contains multiple instances of the 
+        parameters.  The returned list contains multiple instances of the 
         parameter name for multivalued fields.
 
 =back