]> git.pld-linux.org Git - packages/ax25-tools.git/blobdiff - ax25-tools-glibc.patch
- patches set for current build tools, separated -gui; release 9
[packages/ax25-tools.git] / ax25-tools-glibc.patch
diff --git a/ax25-tools-glibc.patch b/ax25-tools-glibc.patch
new file mode 100644 (file)
index 0000000..a923446
--- /dev/null
@@ -0,0 +1,20 @@
+--- ax25-tools-0.0.8/kiss/kissnetd.c.orig      2001-04-10 04:10:39.000000000 +0200
++++ ax25-tools-0.0.8/kiss/kissnetd.c   2023-03-24 18:06:09.899208178 +0100
+@@ -104,7 +104,7 @@ static void ReopenPort(int PortNumber)
+       PortList[PortNumber]->Fd = open(PortList[PortNumber]->Name, O_RDWR | O_NONBLOCK);
+       if (PortList[PortNumber]->Fd < 0) {
+               syslog(LOG_WARNING, "kissnetd : Error opening port %s : %s\n", 
+-                      PortList[PortNumber]->Name, sys_errlist[errno]);
++                      PortList[PortNumber]->Name, strerror(errno));
+               if (VerboseMode) {
+                       sprintf(MyString, "cannot reopen %s", PortList[PortNumber]->Name);
+                       perror(MyString);
+@@ -160,7 +160,7 @@ static void ProcessInput(int PortNumber)
+       if (!Length) return;
+       if (Length < 0) {
+               syslog(LOG_WARNING, "kissnetd : Error reading port %s : %s\n", 
+-                      PortList[PortNumber]->Name, sys_errlist[errno]);
++                      PortList[PortNumber]->Name, strerror(errno));
+               if (VerboseMode) perror("read");
+               close(MyPort->Fd);
+               MyPort->Fd = -1;
This page took 0.127304 seconds and 4 git commands to generate.