Sun, 20 Jan 2008 15:32:02 -0500
[svn] Steel FilenameChecker against race conditions.
Since FilenameChecker was just using os.path.exists() to see whether or not
a filename was free, it had a time of check vs. time of use vulnerability.
Matthew was prodding me about the inconsistency with DirectoryChecker, so
that inspired me to fix this. This also entailed some refactoring. Thanks
Matthew.
1 | 1 | #!/usr/bin/env python |
2 | ||
3 | from distutils.core import setup | |
4 | ||
19 | 5 | setup(name="dtrx", |
45
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
42
diff
changeset
|
6 | version = "6.0", |
1 | 7 | description = "Script to intelligently extract multiple archive types", |
8 | author = "Brett Smith", | |
9 | author_email = "brettcsmith@brettcsmith.org", | |
42 | 10 | url = "http://www.brettcsmith.org/2007/dtrx/", |
19 | 11 | scripts = ['scripts/dtrx'], |
28
4d88f2231d33
[svn] Change all the license notices from GPLv2 to GPLv3.
brett
parents:
19
diff
changeset
|
12 | license = "GNU General Public License, version 3 or later" |
1 | 13 | ) |