File: 786.patch

package info (click to toggle)
dlt-daemon 2.18.10-13
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 5,836 kB
  • sloc: ansic: 41,207; cpp: 12,824; sh: 1,144; xml: 1,123; python: 63; makefile: 23
file content (231 lines) | stat: -rw-r--r-- 11,398 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
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
From ff37a47d9d156e971ca53d9917a0635dac720341 Mon Sep 17 00:00:00 2001
From: Gianfranco Costamagna <locutusofborg@debian.org>
Date: Mon, 1 Dec 2025 12:17:38 +0100
Subject: [PATCH 1/5] Fix typo: allows to -> allows one to

---
 doc/dlt-system.conf.5.md                     | 2 +-
 doc/dlt.conf.5.md                            | 2 +-
 doc/dlt_for_developers.md                    | 2 +-
 doc/dlt_gateway.conf.5.md                    | 2 +-
 doc/dlt_multinode.md                         | 2 +-
 src/console/logstorage/dlt-logstorage-ctrl.c | 2 +-
 src/daemon/dlt-daemon.c                      | 2 +-
 src/daemon/dlt_daemon_event_handler.c        | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

Index: dlt-daemon-salsa/doc/dlt-system.conf.5.md
===================================================================
--- dlt-daemon-salsa.orig/doc/dlt-system.conf.5.md
+++ dlt-daemon-salsa/doc/dlt-system.conf.5.md
@@ -7,11 +7,11 @@
 # DESCRIPTION
 
 The DLT system logging process is the central application, which logs system information from the platform. It provides the features
-filetransfer, syslog adapater, logging of any kind of files and
+filetransfer, syslog adapter, logging of any kind of files and
 procfilesystem logger. The individual features can be enabled and
 disabled in the configuration file.
 
-The configuration file dlt-system.conf allows to configure the different runtime behaviour of dlt-system. The configuration file is loaded during startup of dlt-system.
+The configuration file dlt-system.conf allows one to configure the different runtime behaviour of dlt-system. The configuration file is loaded during startup of dlt-system.
 
 dlt-system loads by default the configuration file  /etc/dlt-system.conf.
 An alternative configuration file can be loaded with the option -c.
@@ -110,7 +110,7 @@ The Context Id of the filetransfer.
 
 ## FiletransferTimeStartup
 
-Time in seconds after startup of dlt-system when first file is transfered.
+Time in seconds after startup of dlt-system when first file is transferred.
 
     Default: 0
 
Index: dlt-daemon-salsa/doc/dlt.conf.5.md
===================================================================
--- dlt-daemon-salsa.orig/doc/dlt.conf.5.md
+++ dlt-daemon-salsa/doc/dlt.conf.5.md
@@ -8,7 +8,7 @@
 
 The DLT daemon is the central application which gathers logs and traces from different applications, stores them temporarily or permanently and transfers them to a DLT client application, which could run directly on the COVESA system or more likely on some external tester device.
 
-The configuration file dlt.conf allows to configure the different
+The configuration file dlt.conf allows one to configure the different
 runtime behaviour of the dlt-daemon. It is loaded during startup of dlt-daemon.
 
 # GENERAL OPTIONS
@@ -236,7 +236,7 @@ This value defines the max size of a off
 
 ## OfflineTraceMaxSize
 
-This value defines the max offline Trace memory size, if offline trace is enabled. This value is defined in bytes. If the overall offline trace size is excedded, the oldest log files are deleted, until a new trace file fits the overall offline trace max size.
+This value defines the max offline Trace memory size, if offline trace is enabled. This value is defined in bytes. If the overall offline trace size is exceeded, the oldest log files are deleted, until a new trace file fits the overall offline trace max size.
 
     Default: 4000000
 
@@ -276,7 +276,7 @@ If this value is set to a serial device
 
 ## RS232Baudrate
 
-The used serial baud rate, if serial loggin is enabled. The RS232DeviceName must be set to enable serial logging.
+The used serial baud rate, if serial logging is enabled. The RS232DeviceName must be set to enable serial logging.
 
     Default: 115200
 
Index: dlt-daemon-salsa/doc/dlt_for_developers.md
===================================================================
--- dlt-daemon-salsa.orig/doc/dlt_for_developers.md
+++ dlt-daemon-salsa/doc/dlt_for_developers.md
@@ -281,7 +281,7 @@ runtime configuration).
 
 - Environment variable `DLT_INITIAL_LOG_LEVEL`
     - There is an environment variable which is called `DLT_INITIAL_LOG_LEVEL`.
-      It allows to set a per-application-context log level. Refer to
+      It allows one to set a per-application-context log level. Refer to
       [Initial Log level](#initial-log-level) for more detail.
 
 - Application registers itself at daemon with self-defined log level
Index: dlt-daemon-salsa/doc/dlt_gateway.conf.5.md
===================================================================
--- dlt-daemon-salsa.orig/doc/dlt_gateway.conf.5.md
+++ dlt-daemon-salsa/doc/dlt_gateway.conf.5.md
@@ -6,7 +6,7 @@
 
 # DESCRIPTION
 
-The configuration file dlt_gateway.conf allows to configure the different runtime behaviour of gateway in Multinode feature.
+The configuration file dlt_gateway.conf allows one to configure the different runtime behaviour of gateway in Multinode feature.
 
 The configuration file is written in an INI file format and contains information about different connected passive nodes.
 
Index: dlt-daemon-salsa/doc/dlt_multinode.md
===================================================================
--- dlt-daemon-salsa.orig/doc/dlt_multinode.md
+++ dlt-daemon-salsa/doc/dlt_multinode.md
@@ -4,7 +4,7 @@ Back to [README.md](../README.md)
 
 ## Overview
 
-MultiNode allows to connect DLT Daemons running on different operating systems,
+MultiNode allows one to connect DLT Daemons running on different operating systems,
 e.g. in a virtualized environment. The central component is the Gateway DLT
 Daemon which connects external DLT Clients, like the DLT Viewer running on a
 host computer with Passive DLT Daemons running on nodes without a physical
Index: dlt-daemon-salsa/src/console/logstorage/dlt-logstorage-ctrl.c
===================================================================
--- dlt-daemon-salsa.orig/src/console/logstorage/dlt-logstorage-ctrl.c
+++ dlt-daemon-salsa/src/console/logstorage/dlt-logstorage-ctrl.c
@@ -117,7 +117,7 @@ static void catch_signal(int signo)
 
 /** @brief Install a handler for some signals
  *
- * Handler are installed on exit related signals. That allows to exit from
+ * Handler are installed on exit related signals. That allows one to exit from
  * the main loop gracefully.
  */
 static void install_signal_handler(void)
Index: dlt-daemon-salsa/src/daemon/dlt-daemon.c
===================================================================
--- dlt-daemon-salsa.orig/src/daemon/dlt-daemon.c
+++ dlt-daemon-salsa/src/daemon/dlt-daemon.c
@@ -1502,7 +1502,7 @@ int dlt_daemon_local_init_p2(DltDaemon *
         dlt_get_version(daemon->ECUVersionString, DLT_DAEMON_TEXTBUFSIZE);
     }
 
-    /* Set to allows to maintain logstorage loglevel as default */
+    /* Set to allows one to maintain logstorage loglevel as default */
     daemon->maintain_logstorage_loglevel = DLT_MAINTAIN_LOGSTORAGE_LOGLEVEL_ON;
 
     return 0;
Index: dlt-daemon-salsa/src/daemon/dlt_daemon_event_handler.c
===================================================================
--- dlt-daemon-salsa.orig/src/daemon/dlt_daemon_event_handler.c
+++ dlt-daemon-salsa/src/daemon/dlt_daemon_event_handler.c
@@ -268,7 +268,7 @@ int dlt_daemon_handle_event(DltEventHand
 /** @brief Find connection with a specific \a fd in the connection list.
  *
  * There can be only one event per \a fd. We can then find a specific connection
- * based on this \a fd. That allows to check if a specific \a fd has already been
+ * based on this \a fd. That allows one to check if a specific \a fd has already been
  * registered.
  *
  * @param ev The event handler structure where the list of connection is.
Index: dlt-daemon-salsa/doc/dlt-system.1.md
===================================================================
--- dlt-daemon-salsa.orig/doc/dlt-system.1.md
+++ dlt-daemon-salsa/doc/dlt-system.1.md
@@ -11,7 +11,7 @@
 #DESCRIPTION
 
 The DLT system logging process is the central application, which logs system information from the platform. It provides the features
-filetransfer, syslog adapater, logging of any kind of files and
+filetransfer, syslog adapter, logging of any kind of files and
 procfilesystem logger. The individual features can be enabled and
 disabled in the configuration file.
 
Index: dlt-daemon-salsa/src/daemon/dlt_daemon_client.c
===================================================================
--- dlt-daemon-salsa.orig/src/daemon/dlt_daemon_client.c
+++ dlt-daemon-salsa/src/daemon/dlt_daemon_client.c
@@ -98,7 +98,7 @@ static inline int8_t getStatus(uint8_t r
  * @param size2 The second message size.
  * @param verbose Needed for socket closure.
  *
- * @return The amount of data transfered.
+ * @return The amount of data transferred.
  */
 static int dlt_daemon_client_send_all_multiple(DltDaemon *daemon,
                                                DltDaemonLocal *daemon_local,
Index: dlt-daemon-salsa/src/system/dlt-system.conf
===================================================================
--- dlt-daemon-salsa.orig/src/system/dlt-system.conf
+++ dlt-daemon-salsa/src/system/dlt-system.conf
@@ -87,7 +87,7 @@ FiletransferEnable = 0
 # The Context Id of the filetransfer (Default: FILE)
 FiletransferContextId = FILE
 
-# Time in seconds after startup of dlt-system when first file is transfered (Default: 0)
+# Time in seconds after startup of dlt-system when first file is transferred (Default: 0)
 FiletransferTimeStartup = 0
 
 # Time in ms seconds to wait between two file transfer logs of a single file to DLT.  (Default: 10)
Index: dlt-daemon-salsa/src/tests/dlt-test-client.c
===================================================================
--- dlt-daemon-salsa.orig/src/tests/dlt-test-client.c
+++ dlt-daemon-salsa/src/tests/dlt-test-client.c
@@ -877,7 +877,7 @@ int dlt_testclient_message_callback(DltM
                     datalength -= slen;
                     ptr += slen;
 
-                    /* 2*, as the min and the max is transfered */
+                    /* 2*, as the min and the max is transferred */
                     if (datalength == 2 * sizeof(float))
                         dltdata->test_counter_macro[2]++;
 
@@ -889,7 +889,7 @@ int dlt_testclient_message_callback(DltM
                     datalength -= slen;
                     ptr += slen;
 
-                    /* 2*, as the min and the max is transfered */
+                    /* 2*, as the min and the max is transferred */
                     if (datalength == 2 * sizeof(double))
                         dltdata->test_counter_macro[2]++;
 
@@ -1900,7 +1900,7 @@ int dlt_testclient_message_callback(DltM
                     datalength -= slen;
                     ptr += slen;
 
-                    /* 2*, as the min and the max is transfered */
+                    /* 2*, as the min and the max is transferred */
                     if (datalength == 2 * sizeof(float))
                         dltdata->test_counter_function[2]++;
 
@@ -1912,7 +1912,7 @@ int dlt_testclient_message_callback(DltM
                     datalength -= slen;
                     ptr += slen;
 
-                    /* 2*, as the min and the max is transfered */
+                    /* 2*, as the min and the max is transferred */
                     if (datalength == 2 * sizeof(double))
                         dltdata->test_counter_function[2]++;