File: 850-Fix-spelling-in-source-files.patch

package info (click to toggle)
hylafax 3%3A6.0.7-13
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 10,848 kB
  • sloc: sh: 15,305; ansic: 14,429; makefile: 1,562; cpp: 781; awk: 529
file content (267 lines) | stat: -rw-r--r-- 11,257 bytes parent folder | download | duplicates (3)
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
From: Friedhelm Mehnert <friedhelm@friedhelms.net>
Date: Tue, 17 Jan 2023 20:02:00 +0100
Subject: Fix spelling in source files

---
 config/att-dataport-2 | 2 +-
 etc/faxaddmodem.sh.in | 2 +-
 etc/faxsetup.sh.in    | 2 +-
 faxd/Class2.c++       | 4 ++--
 faxd/Class2Poll.c++   | 2 +-
 faxd/Class2Send.c++   | 2 +-
 faxd/CopyQuality.c++  | 2 +-
 faxd/FaxAcctInfo.h    | 2 +-
 faxd/STATUS.txt       | 4 ++--
 faxd/faxApp.c++       | 2 +-
 hfaxd/Jobs.c++        | 2 +-
 hfaxd/Parser.c++      | 4 ++--
 hfaxd/SNPPServer.c++  | 4 ++--
 hfaxd/main.c++        | 2 +-
 libhylafax/t.30.h     | 2 +-
 rpm/hyla.conf         | 2 +-
 16 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/config/att-dataport-2 b/config/att-dataport-2
index aecff9a..811a197 100644
--- a/config/att-dataport-2
+++ b/config/att-dataport-2
@@ -80,7 +80,7 @@ NoCarrierRetrys:	3		# retry 3 times on no carrier
 #
 Class2DCCQueryCmd:	"!(0,1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)"
 #
-# There's no suport for HDLC frame tracing; silence the avoid
+# There's no support for HDLC frame tracing; silence the avoid
 # error message so naive folks don't ask if it's a problem.
 #
 Class2BugCmd:		AT+FBUG=0
diff --git a/etc/faxaddmodem.sh.in b/etc/faxaddmodem.sh.in
index 1debeef..5bad3b3 100644
--- a/etc/faxaddmodem.sh.in
+++ b/etc/faxaddmodem.sh.in
@@ -1647,7 +1647,7 @@ AT	Class2SFLOCmd	\
 AT	Class2AbortCmd		Command to abort an active session
 AT	Class2BORCmd		Command to setup data bit order
 AT	Class2BUGCmd		Command to enable HDLC frame tracing
-AT	Class2CIGCmd		Command to set polling identifer
+AT	Class2CIGCmd		Command to set polling identifier
 AT	Class2CQCmd		Command to setup copy quality parameters
 AT	Class2CRCmd		Command to enable receive capability
 AT	Class2DCCCmd		Command to set/constrain modem capabilities
diff --git a/etc/faxsetup.sh.in b/etc/faxsetup.sh.in
index 0bca05c..fb9255e 100644
--- a/etc/faxsetup.sh.in
+++ b/etc/faxsetup.sh.in
@@ -1735,7 +1735,7 @@ if [ -z "$faxGID" ]; then faxGID=$defPROTOGID; fi
 
 #
 # Add a fax user to the password file and lock the
-# entry so that noone can login as the user.
+# entry so that no one can login as the user.
 #
 addFaxUser()
 {
diff --git a/faxd/Class2.c++ b/faxd/Class2.c++
index 6439719..cae753b 100644
--- a/faxd/Class2.c++
+++ b/faxd/Class2.c++
@@ -183,7 +183,7 @@ Class2Modem::setupModem(bool isSend)
 	if (cqCmds == "" && modemCQ) modemCQ = 1;
     }
     /*
-     * Deduce if modem supports T.class2-defined suport for
+     * Deduce if modem supports T.class2-defined support for
      * subaddress, selective polling address, and passwords.
      */
     int sub = 0;
@@ -824,7 +824,7 @@ static struct HangupCode {
     {{ NULL,"130", NULL}, 261, "Remote station cannot receive (DIS bit 10)" },
     {{ NULL,"131", NULL}, 262, "+FK aborted or <CAN> aborted" },
     {{ NULL,"132", NULL}, 263, "+Format conversion error in +FDT=DF,VR, WD,LN"
-				   " Incompatible and inconvertable data format" },
+				   " Incompatible and inconvertible data format" },
     {{ NULL,"133", NULL}, 264, "Remote cannot receive" },
     {{ NULL,"134", NULL}, 265, "After +FDR, DCE waited more than 30 seconds for"
 				   " XON from DTE after XOFF from DTE" },
diff --git a/faxd/Class2Poll.c++ b/faxd/Class2Poll.c++
index a4bec6e..00aec5c 100644
--- a/faxd/Class2Poll.c++
+++ b/faxd/Class2Poll.c++
@@ -48,7 +48,7 @@ Class2Modem::pollBegin(const fxStr& cig, const fxStr& sep, const fxStr& pwd, Sta
     const char* cmdFailed = "Unable to setup %s (modem command failed)";
 
     if (!class2Cmd(cigCmd, cig)) {		// set polling ID
-	eresult = Status(201, cmdFailed, "polling identifer");
+	eresult = Status(201, cmdFailed, "polling identifier");
 	return (false);
     }
     if (sep != "" && paCmd != "" && !class2Cmd(paCmd, sep)) {
diff --git a/faxd/Class2Send.c++ b/faxd/Class2Send.c++
index 8379e38..00d4623 100644
--- a/faxd/Class2Send.c++
+++ b/faxd/Class2Send.c++
@@ -279,7 +279,7 @@ Class2Modem::sendPhaseB(TIFF* tif, Class2Params& next, FaxMachineInfo& info,
 	if (!decodePPM(pph, ppm, eresult))
 	    goto failed;
 	if (ppm == PPH_SKIP)
-	    protoTrace("Skiping page %d", FaxModem::getPageNumber());
+	    protoTrace("Skipping page %d", FaxModem::getPageNumber());
 	if (ppm == PPH_SKIP || (dataTransfer() && sendPage(tif, decodePageChop(pph, params), pt == PAGE_COVER))) {
 	    /*
 	     * Page transferred, process post page response from
diff --git a/faxd/CopyQuality.c++ b/faxd/CopyQuality.c++
index d1f2d0f..d7af3af 100644
--- a/faxd/CopyQuality.c++
+++ b/faxd/CopyQuality.c++
@@ -745,7 +745,7 @@ FaxModem::parseJPEGStream(u_char c)
     if (parserCount[0] >= 4 && parserBuf[3] == 0xFF && parserBuf[2] == 0xCC) {
 	fsize = 256*parserBuf[1];
 	fsize += parserBuf[0];
-	copyQualityTrace("Found Define Arithmatic Coding Conditionings (DAC) Marker");
+	copyQualityTrace("Found Define Arithmetic Coding Conditionings (DAC) Marker");
 	parserCount[1] = fsize - 4;
 	parserCount[0] = 0;
 	return;
diff --git a/faxd/FaxAcctInfo.h b/faxd/FaxAcctInfo.h
index 0732a3a..1148dd5 100644
--- a/faxd/FaxAcctInfo.h
+++ b/faxd/FaxAcctInfo.h
@@ -37,7 +37,7 @@ struct FaxAcctInfo {
     time_t	start;		// starting time
     time_t	duration;	// job duration (seconds)
     time_t	conntime;	// connect time (seconds)
-    const char*	commid;		// communication identifer
+    const char*	commid;		// communication identifier
     const char*	device;		// modem device
     const char*	dest;		// receiver phone number
     const char*	csi;		// remote csi
diff --git a/faxd/STATUS.txt b/faxd/STATUS.txt
index d7fbd7c..b517b67 100644
--- a/faxd/STATUS.txt
+++ b/faxd/STATUS.txt
@@ -81,7 +81,7 @@
 200-299 : Class 2-specific protocol failure
 ===============================================================================
 200      : Unable to request polling operation (modem may not support polling)
-201      : Unable to setup polling identifer (modem command failed)
+201      : Unable to setup polling identifier (modem command failed)
 202      : Unable to setup selective polling address (modem command failed)
 203      : Unable to setup polling password (modem command failed)
 204      : Unable to send password (modem command failed)
@@ -143,7 +143,7 @@
 260      : Cannot send: remote is V.29 only, local DCE constrained to 2400 or 4800 bps
 261      : Remote station cannot receive (DIS bit 10)
 262      : +FK aborted or <CAN> aborted
-263      : +Format conversion error in +FDT=DF,VR, WD,LN Incompatible and inconvertable data format
+263      : +Format conversion error in +FDT=DF,VR, WD,LN Incompatible and inconvertible data format
 264      : Remote cannot receive
 265      : After +FDR, DCE waited more than 30 seconds for XON from DTE after XOFF from DTE
 266      : In Polling Phase B, remote cannot be polled
diff --git a/faxd/faxApp.c++ b/faxd/faxApp.c++
index b89927a..c723b11 100644
--- a/faxd/faxApp.c++
+++ b/faxd/faxApp.c++
@@ -183,7 +183,7 @@ faxApp::FIFOInput(int fd)
      * Solaris 2.1 was to do a parallel reopen of the appropriate
      * FIFO so that the original descriptor is recycled.  This
      * apparently no longer works in Solaris 2.2 or later and we
-     * are forced to close and reopen both FIFO descriptors (noone
+     * are forced to close and reopen both FIFO descriptors (no one
      * appears capable of answering why this this is necessary and
      * I personally don't care...)
      */
diff --git a/hfaxd/Jobs.c++ b/hfaxd/Jobs.c++
index 7c36b63..76d4800 100644
--- a/hfaxd/Jobs.c++
+++ b/hfaxd/Jobs.c++
@@ -929,7 +929,7 @@ HylaFAXServer::newJobCmd(void)
 	fxStr file("/" | curJob->qfile);
 	setFileOwner(file);			// force ownership
 	FileCache::chmod(file, jobProtection);	// sync cache
-	curJob->lastmod = Sys::now();		// noone else should update
+	curJob->lastmod = Sys::now();		// no one else should update
 	reply(200, "New job created: jobid: %s groupid: %s.",
 	    (const char*) curJob->jobid, (const char*) curJob->groupid);
 	blankJobs[curJob->jobid] = curJob;
diff --git a/hfaxd/Parser.c++ b/hfaxd/Parser.c++
index 888d08d..d1cfa4c 100644
--- a/hfaxd/Parser.c++
+++ b/hfaxd/Parser.c++
@@ -1326,7 +1326,7 @@ HylaFAXServer::job_param(fxStr& jid)
     if (opt_CRLF()) {
 	jid = curJob->jobid;
 	return (true);
-    } else if (SPACE() && STRING(jid, "job identifer") && CRLF()) {
+    } else if (SPACE() && STRING(jid, "job identifier") && CRLF()) {
 	jid.lowercase();
 	return (true);
     }
@@ -1653,7 +1653,7 @@ HylaFAXServer::timerExpired(long, long)
     if (TRACE(SERVER)) {
 	time_t now = Sys::now();
 	logInfo("User %s timed out after %d seconds at %.24s"
-	    , IS(LOGGEDIN) ? (const char*) the_user : "(noone)"
+	    , IS(LOGGEDIN) ? (const char*) the_user : "(no one)"
 	    , idleTimeout
 	    , asctime(cvtTime(now))
 	);
diff --git a/hfaxd/SNPPServer.c++ b/hfaxd/SNPPServer.c++
index a90be15..2bb32ec 100644
--- a/hfaxd/SNPPServer.c++
+++ b/hfaxd/SNPPServer.c++
@@ -1114,7 +1114,7 @@ SNPPServer::pagerCmd(const char* pagerID, const char* pin)
 	fxStr file("/" | curJob->qfile);
 	setFileOwner(file);			// force ownership
 	FileCache::chmod(file, 0660);		// sync cache
-	curJob->lastmod = Sys::now();		// noone else should update
+	curJob->lastmod = Sys::now();		// no one else should update
 
 	curJob->number = provider;		// destination phone number
 	if (!pin)				// use mapped value
@@ -1305,7 +1305,7 @@ SNPPServer::sendCmd(void)
 	state &= ~(S_WAITTRIG|S_SENDWAIT);
 	(void) cancelTrigger(emsg);
     } else				// jobs queued, just acknowledge
-	reply(250, "Message%s succesfully queued.",
+	reply(250, "Message%s successfully queued.",
 	    msgs.length() > 1 ? "s" : "");
     resetState();			// reset SEND-related state
 }
diff --git a/hfaxd/main.c++ b/hfaxd/main.c++
index 1c27961..d988637 100644
--- a/hfaxd/main.c++
+++ b/hfaxd/main.c++
@@ -267,7 +267,7 @@ main(int argc, char** argv, char** envp)
 	    break;
 #else
 	case 'h': case 'H':
-	    fatal("No HTTP suport");
+	    fatal("No HTTP support");
 	    /*NOTREACHED*/
 #endif
 	case 'l':
diff --git a/libhylafax/t.30.h b/libhylafax/t.30.h
index 4825706..f2714ea 100644
--- a/libhylafax/t.30.h
+++ b/libhylafax/t.30.h
@@ -142,7 +142,7 @@
 #define	DIS_2DUNCOMP	(0x40<<24)	// uncompressed 2-d data supported
 #define	DIS_ECMODE	(0x20<<24)	// error correction mode supported
 // NB: bit 0x10 must be zero
-#define	DIS_ELMODE	(0x08<<24)	// error limiting mode suported
+#define	DIS_ELMODE	(0x08<<24)	// error limiting mode supported
 #define	DIS_G4COMP	(0x02<<24)	// T.6 compression supported
 // bit 0x01 indicates an extension byte follows
 
diff --git a/rpm/hyla.conf b/rpm/hyla.conf
index b3703d6..c149e55 100644
--- a/rpm/hyla.conf
+++ b/rpm/hyla.conf
@@ -23,7 +23,7 @@ VRes: 196
 # Notify policy (for outgoing faxes).
 # Default is to notify only in case of problems. Equivalent to 'sendfax'
 # -D option.
-#Notify: Done    # Notify even for succesfully sent jobs
+#Notify: Done    # Notify even for successfully sent jobs
 
 # 'faxstat' output
 # Uncomment this to change the format of 'faxstat' output to show the