]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Previous tempfile name was dangerous.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 13 Nov 2010 21:29:11 +0000 (16:29 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 13 Nov 2010 21:29:11 +0000 (16:29 -0500)
rcs-fast-import

index c42bbf0b73556addb63ae81c1dc9c7e183a3e2c6..bab2206b9cf4c474717ab5218ec9eef8577b4184 100755 (executable)
@@ -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)