Lines 1-20
Link Here
|
1 |
--- devcfg.c.orig 2014-12-28 21:15:39.000000000 +0200 |
1 |
--- devcfg.c.orig 2018-01-21 00:16:02.153274000 +0100 |
2 |
+++ devcfg.c 2014-12-28 21:18:04.000000000 +0200 |
2 |
+++ devcfg.c 2018-01-21 00:16:20.443702000 +0100 |
3 |
@@ -31,7 +31,7 @@ |
3 |
@@ -144,7 +144,7 @@ |
4 |
#include <signal.h> |
|
|
5 |
#include <errno.h> |
6 |
#include <syslog.h> |
7 |
-#include <linux/serial.h> |
8 |
+#include <sys/serial.h> |
9 |
|
10 |
#include "ser2net.h" |
11 |
#include "selector.h" |
12 |
@@ -133,7 +133,7 @@ get_rate_from_baud_rate(int baud_rate, i |
13 |
} |
4 |
} |
14 |
|
5 |
|
15 |
#ifdef USE_UUCP_LOCKING |
6 |
#ifdef USE_UUCP_LOCKING |
16 |
-static char *uucp_lck_dir = "/var/lock"; |
7 |
-static char *uucp_lck_dir = "/var/lock/"; |
17 |
+static char *uucp_lck_dir = "/var/spool/lock"; |
8 |
+static char *uucp_lck_dir = "/var/spool/lock/"; |
|
|
9 |
static char *dev_prefix = "/dev/"; |
18 |
|
10 |
|
19 |
static int |
11 |
static int |
20 |
uucp_fname_lock_size(char *devname) |
|
|