git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
1c02f63
)
afs-callback-kill-bcopy-again-20010911
author
Derrick Brashear
<shadow@dementia.org>
Tue, 11 Sep 2001 20:28:56 +0000 (20:28 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 11 Sep 2001 20:28:56 +0000 (20:28 +0000)
this slipped in with the memory leak fix
src/afs/afs_callback.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_callback.c
b/src/afs/afs_callback.c
index
b9af48d
..
c43d92c
100644
(file)
--- a/
src/afs/afs_callback.c
+++ b/
src/afs/afs_callback.c
@@
-1160,7
+1160,7
@@
int SRXAFSCB_GetCellServDB(
t_name[i] = '\0';
if (p_name)
- bcopy(p_name, t_name, i);
+ memcpy(t_name, p_name, i);
ReleaseReadLock(&afs_xcell);
@@
-1237,7
+1237,7
@@
int SRXAFSCB_GetLocalCell(
t_name[plen] = '\0';
if (p_name)
- bcopy(p_name, t_name, plen);
+ memcpy(t_name, p_name, plen);
ReleaseReadLock(&afs_xcell);