[sudo-commits] sudo changeset 5733:d33172d2c086

Todd C. Miller Todd.Miller at courtesan.com
Fri Jul 9 10:08:41 EDT 2010


changeset:	5733:d33172d2c086 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/d33172d2c086
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri Jul 09 10:08:05 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:

 MANIFEST           |    2 +-
 compat/Makefile.in |    2 +-
 compat/mkstemp.c   |  112 -----------------------------------------------
 compat/mkstemps.c  |  126 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 config.h.in        |    4 +-
 configure          |   16 +++---
 configure.in       |    4 +-
 include/missing.h  |    4 +-
 src/sudo_edit.c    |   14 ++++-
 9 files changed, 152 insertions(+), 132 deletions(-)



More information about the sudo-commits mailing list