git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git]
/
src
/
login
/
setenv.c
diff --git
a/src/login/setenv.c
b/src/login/setenv.c
index
df06213
..
614c867
100644
(file)
--- a/
src/login/setenv.c
+++ b/
src/login/setenv.c
@@
-68,7
+68,7
@@
setenv(name, value, rewrite)
(cnt + 2)));
if (!P)
return(-1);
- bcopy(environ, P, cnt * sizeof(char *));
+ memcpy(P, environ, cnt * sizeof(char *));
environ = P;
}
environ[cnt + 1] = NULL;