From: Eric S. Raymond Date: Sat, 13 Nov 2010 21:29:11 +0000 (-0500) Subject: Previous tempfile name was dangerous. X-Git-Tag: 0.1~22 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=733f007fa751ba879179984c0e536aa0561a301d;p=rcs-fast-import.git Previous tempfile name was dangerous. --- diff --git a/rcs-fast-import b/rcs-fast-import index c42bbf0..bab2206 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -724,7 +724,7 @@ if __name__ == '__main__': try: with Repository() as repo: here = os.getcwd() - tempdir = "rcs-fast-import-" + `os.getpid()` + tempdir = "temp-import-" + `os.getpid()` try: try: os.mkdir(tempdir)