File: 09-spelling-typos.patch

package info (click to toggle)
dictd 1.13.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,920 kB
  • sloc: ansic: 12,523; sh: 4,406; yacc: 512; makefile: 442; cpp: 277; lex: 256; perl: 175; awk: 12
file content (117 lines) | stat: -rw-r--r-- 4,496 bytes parent folder | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
From: Robert Luberda <robert@debian.org>
Date: Tue, 4 Jan 2011 23:27:51 +0100
Subject: Fix spelling typos found by lintian

---
 daemon.c     | 2 +-
 dictd.8.in   | 8 ++++----
 dictfmt.1.in | 4 ++--
 dictfmt.c    | 2 +-
 plugin.c     | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/daemon.c b/daemon.c
index 449caca..d63e753 100644
--- a/daemon.c
+++ b/daemon.c
@@ -255,7 +255,7 @@ static int daemon_check_range(const char *spec, const char *ip)
       return DICT_DENY;
    }
    if (!*pt) {
-      log_info( ":E: Misformed range %s, denying access to %s\n", spec, ip);
+      log_info( ":E: Malformed range %s, denying access to %s\n", spec, ip);
       return DICT_DENY;
    }
    
diff --git a/dictd.8.in b/dictd.8.in
index aa87987..420ccb5 100644
--- a/dictd.8.in
+++ b/dictd.8.in
@@ -417,7 +417,7 @@ differently depending on whether
 .I OPTION MIME
 command was received from client or was not,
 i.e. the database created by this section
-allows to return to the client either a plain text or
+allows one to return to the client either a plain text or
 specially formatted content depending on whether DICT client supports
 (or wants to receive) MIMEized content or doesn't.
 The
@@ -1231,7 +1231,7 @@ you can get only 100 ones skipping the first 800 matches.
 This is made by specified these limits in a query like this:
 800#100#app, where 800 is skip count, 100 is a number of matches
 you want to get and "app" is your query.
-This strategy allows to implement DICT client with fast autocompletion
+This strategy allows one to implement DICT client with fast autocompletion
 (although it is not trivial)
 just like many standalone dictionary programs do.
 .P
@@ -1343,13 +1343,13 @@ Some headwords are used by
 especially
 .P
 .BI 00\-database\-info
-Containts the information about database
+Contains the information about database
 which is 
 returned by SHOW INFO command,
 unless it is specified in the configuration file.
 .P
 .BI 00\-database\-short
-Containts the short name of the database
+Contains the short name of the database
 which is
 returned by SHOW DB command,
 unless it is specified in the configuration file.
diff --git a/dictfmt.1.in b/dictfmt.1.in
index 7c0d071..867ee62 100644
--- a/dictfmt.1.in
+++ b/dictfmt.1.in
@@ -273,12 +273,12 @@ and the input file contains \'autumn%%%fall', both 'autumn' and 'fall'
 will be indexed as  headwords, with the same definition.
 .TP
 .BI \-\-index\-data\-separator " sep"
-sets the index/data separator, which allows to set the first and fourth
+sets the index/data separator, which allows one to set the first and fourth
 columns of .index file independently. That is
 the first column can be treated as an index column
 (where the MATCH command searches) and the fourth column as a result column
 (where the MATCH gets things to be returned),
-and they (1-st and 4-th columns) are completely independant of each other.
+and they (1-st and 4-th columns) are completely independent of each other.
 The default value for this separator is ASCII symbol " \\034".
 .TP
 .BI \-\-break\-headwords
diff --git a/dictfmt.c b/dictfmt.c
index 8d32c8b..b8b7aa9 100644
--- a/dictfmt.c
+++ b/dictfmt.c
@@ -838,7 +838,7 @@ static void help( FILE *out_stream )
                      Example: autumn%%%fall can be used\n\
                      if '--headword-separator %%%' is supplied",
 "--index-data-separator <sep> sets index/data separator which allows\n\
-                     to explicitly set fourth column in .index file,\n\
+                     one to explicitly set fourth column in .index file,\n\
                      the default is \"\\034\"",
 "--break-headwords    multiple headwords will be written on separate lines\n\
                      in the .dict file.  For use with '--headword-separator.",
diff --git a/plugin.c b/plugin.c
index 094987d..90aefbf 100644
--- a/plugin.c
+++ b/plugin.c
@@ -517,7 +517,7 @@ static void dict_plugin_dlsym (dictPlugin *plugin)
        !plugin -> dictdb_error ||
        !plugin -> dictdb_close)
    {
-      PRINTF(DBG_INIT, (":I:     faild\n"));
+      PRINTF(DBG_INIT, (":I:     failed\n"));
       exit (1);
    }
 }
@@ -543,7 +543,7 @@ static dictPlugin *create_plugin (
    PRINTF(DBG_INIT, (":I:     opening plugin\n"));
    plugin -> handle = lt_dlopen (plugin_filename);
    if (!plugin -> handle){
-      PRINTF(DBG_INIT, (":I:     faild: %s\n", dlerror ()));
+      PRINTF(DBG_INIT, (":I:     failed: %s\n", dlerror ()));
       exit (1);
    }