about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-09-05 14:11:12 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2020-09-05 14:11:12 +0000
commit2019f3851a380ea4f060ca449d2f7509de30c551 (patch)
tree4f88ed317d44fb4e5d9ab77e565bf1d910a8f560 /src
parente1d58e19dd12fd7cf855c7bf818a711940e7e000 (diff)
downloadlynx-snapshots-2019f3851a380ea4f060ca449d2f7509de30c551.tar.gz
snapshot of project "lynx", label v2-9-0dev_6
Diffstat (limited to 'src')
-rw-r--r--src/LYStrings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c
index d12a6e36..f4719f87 100644
--- a/src/LYStrings.c
+++ b/src/LYStrings.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYStrings.c,v 1.276 2019/01/02 23:42:50 tom Exp $ */
+/* $LynxId: LYStrings.c,v 1.277 2020/09/04 00:34:02 tom Exp $ */
 #include <HTUtils.h>
 #include <HTCJK.h>
 #include <UCAux.h>
@@ -592,7 +592,7 @@ char *LYstrncpy(char *target,
     if (n > 0) {
 	if (n > len)
 	    n = len;
-	(void) StrNCpy(target, source, n);
+	(void) memcpy(target, source, (size_t) n);
     } else {
 	n = 0;
     }
h=0.4.0&id=acfe7d7625192bc856d5d696f741e35ce38cab25'>acfe7d7 ^
6838c23 ^
acfe7d7 ^


d1df710 ^

acfe7d7 ^


8bb115d ^



217e85a ^



acfe7d7 ^
32f970e ^

acfe7d7 ^

























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