projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
less horrible strncpy's
[apps/madmutt.git]
/
dotlock.c
diff --git
a/dotlock.c
b/dotlock.c
index
43d3058
..
9df9848
100644
(file)
--- a/
dotlock.c
+++ b/
dotlock.c
@@
-55,7
+55,7
@@
# define LONG_STRING 1024
# define MAXLOCKATTEMPT 5
-# define strfcpy(A,B,C)
strncpy (A,B,C), *(A+(C)-1)=0
+# define strfcpy(A,B,C)
m_strcpy(A,C,B)
# ifdef USE_SETGID