[sudo-commits] sudo changeset 5732:46399679d9ae

Todd C. Miller Todd.Miller at courtesan.com
Fri Jul 9 09:49:48 EDT 2010


changeset:	5732:46399679d9ae in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/46399679d9ae
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri Jul 09 09:49:33 2010 -0400

Log Message:
	Use mkstemps() instead of mkstemp() in sudoedit.  This allows sudoedit
	to preserve the file extension (if any) which may be used by the editor
	(like emacs) to choose the editing mode.

diffstat:

 Makefile.in  |    6 +-
 config.h.in  |    4 +-
 configure    |   20 ++++----
 configure.in |    2 +-
 missing.h    |    4 +-
 mkstemp.c    |  112 ---------------------------------------------------
 mkstemps.c   |  128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sudo_edit.c  |   13 ++++-
 8 files changed, 155 insertions(+), 134 deletions(-)



More information about the sudo-commits mailing list