]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Clean up tmp file usage a little by using mkstemp(3) instead of
authorgreen <green@FreeBSD.org>
Tue, 14 May 2002 23:15:42 +0000 (23:15 +0000)
committergreen <green@FreeBSD.org>
Tue, 14 May 2002 23:15:42 +0000 (23:15 +0000)
commit957e7d4f00a9759b34eeeaa7e56e0ecaf8866e71
tree03ea6a39420b9cd16e2ddd7bb9bd6cb0e9b8d7cb
parent61d5a9043fbea6647d345d31063ded3995f3c151
o Clean up tmp file usage a little by using mkstemp(3) instead of
  mktemp(3).  It would be amazingly unlikely, but the former method
  could result in a symlink attack.  A better solution would use
  ${TMPDIR}, though.
o Make sed not overwrite old backup files with no warning.
usr.bin/sed/main.c