[sudo-cvs] CVS commit: sudo

Todd C. Miller Todd.Miller at courtesan.com
Wed Jul 18 12:57:32 EDT 2007


Module Name:	sudo
Committed By:	millert
Date:		Wed Jul 18 16:57:32 UTC 2007

Modified Files:
	sudo: env.c sudo.c

Log Message:
rebuild_env() and insert_env_vars() no longer return environment pointer,
they set environ directly.

No longer need to pass around an envp pointer since we just operate
on environ now.

Add dosync argument to insert_env() that indicates whether it should
reset environ when realloc()ing env.envp.

Use an initial size of 128 for the environment.


To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 sudo/env.c
cvs rdiff -r1.435 -r1.436 sudo/sudo.c




More information about the sudo-commits mailing list