diff options
author | Ned Deily <nad@acm.org> | 2011-06-28 07:13:01 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-06-28 07:13:01 (GMT) |
commit | 8b56c4b1b82898ffd7e6337c39068c93e21e8d31 (patch) | |
tree | f70a99badeaf4276217cd141841e5d0509d70183 /Lib/stat.py | |
parent | f6837aa1714ff331346522c6698573d9d32aa43e (diff) | |
parent | 3eb67d58d61cec42c09242a7d801072c3e448dcf (diff) | |
download | cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.zip cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.tar.gz cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.tar.bz2 |
Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
Diffstat (limited to 'Lib/stat.py')
-rw-r--r-- | Lib/stat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/stat.py b/Lib/stat.py index d29c63c..78ccd5e 100644 --- a/Lib/stat.py +++ b/Lib/stat.py @@ -87,6 +87,8 @@ UF_IMMUTABLE = 0x00000002 UF_APPEND = 0x00000004 UF_OPAQUE = 0x00000008 UF_NOUNLINK = 0x00000010 +UF_COMPRESSED = 0x00000020 # OS X: file is hfs-compressed +UF_HIDDEN = 0x00008000 # OS X: file should not be displayed SF_ARCHIVED = 0x00010000 SF_IMMUTABLE = 0x00020000 SF_APPEND = 0x00040000 |