File: 0001-Fix-spelling-errors-found-by-lintian.patch

package info (click to toggle)
xrootd 5.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 25,916 kB
  • sloc: cpp: 244,536; sh: 2,647; python: 1,980; ansic: 1,027; perl: 814; makefile: 277
file content (39 lines) | stat: -rw-r--r-- 1,652 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
From 84a9758260fb3c0642dfd9e18cd7bc24b42586e3 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Thu, 16 Oct 2025 11:26:07 +0200
Subject: [PATCH] Fix spelling errors (found by lintian)

---
 src/XrdNet/XrdNetMsg.cc                        | 2 +-
 src/XrdThrottle/XrdThrottleFileSystemConfig.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/XrdNet/XrdNetMsg.cc b/src/XrdNet/XrdNetMsg.cc
index 2581e394c..765603442 100644
--- a/src/XrdNet/XrdNetMsg.cc
+++ b/src/XrdNet/XrdNetMsg.cc
@@ -86,7 +86,7 @@ XrdNetMsg::XrdNetMsg(XrdSysError *erp, const char *dest, bool *aOK, bool refr)
 
 // Save the relevant information
 //
-   dfltDest = strdup(myPeer.InetName ? myPeer.InetName : "Unknow!");
+   dfltDest = strdup(myPeer.InetName ? myPeer.InetName : "Unknown!");
    FD       = myPeer.fd;
    destOK   = true;
 
diff --git a/src/XrdThrottle/XrdThrottleFileSystemConfig.cc b/src/XrdThrottle/XrdThrottleFileSystemConfig.cc
index 8a321ab3f..c110fa369 100644
--- a/src/XrdThrottle/XrdThrottleFileSystemConfig.cc
+++ b/src/XrdThrottle/XrdThrottleFileSystemConfig.cc
@@ -64,7 +64,7 @@ XrdSfsGetFileSystem_Internal(XrdSfsFileSystem *native_fs,
    if (envP && envP->GetInt("XrdOssThrottle") == 1) {
       XrdSysError eDest(lp, "XrdOssThrottle");
       eDest.Emsg("Config", "XrdOssThrottle is loaded; not stacking XrdThrottle on OFS.  "
-         "This is a warning for backward compatability; this configuration may generate an "
+         "This is a warning for backward compatibility; this configuration may generate an "
          "error in the future.");
       return native_fs;
    }
-- 
2.51.0