Russ Allbery wrote:
Jason Edgecombe <[EMAIL PROTECTED]> writes:
My C is weak. Do I pass null as the third parameter to execve? or do I
have to get a copy of the environment. what function call gives that?
execve("/bin/cp", copy, env);
The only point of using execve instead of execv is to override the
environment, so since you don't need to do that, you can just change the
call to execv and drop the env argument. (This assumes that pinstall
isn't intentionally setting the environment to something that affects the
behavior of cp; I haven't looked at the code.)
Thanks Russ. That fixed things. I added the changes and I'm making
progress and actually got a .deb start testing.
I've submitted the patched install.c to RT.
Thanks,
Jason
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel