diff options
author | Rene Ladan <rene@FreeBSD.org> | 2010-10-22 09:13:00 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2010-10-22 09:13:00 +0000 |
commit | 9e0ca7855a08b6f1475beed2a9df15c2b89601f6 (patch) | |
tree | 6568ac0758c3ec06e523a5e2965f7bc56cae79d7 /devel/ros/files/patch-3085 | |
parent | bb5e018ab1921461ad0099ba810f18325690aa86 (diff) | |
download | ports-9e0ca7855a08b6f1475beed2a9df15c2b89601f6.tar.gz ports-9e0ca7855a08b6f1475beed2a9df15c2b89601f6.zip |
Notes
Diffstat (limited to 'devel/ros/files/patch-3085')
-rw-r--r-- | devel/ros/files/patch-3085 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/ros/files/patch-3085 b/devel/ros/files/patch-3085 new file mode 100644 index 000000000000..6e12ca575fe3 --- /dev/null +++ b/devel/ros/files/patch-3085 @@ -0,0 +1,24 @@ +Index: core/roslib/src/roslib/packages.py +=================================================================== +--- core/roslib/src/roslib/packages.py (revision 11635) ++++ core/roslib/src/roslib/packages.py (working copy) +@@ -502,7 +502,8 @@ + if m in files: + test_path = os.path.join(p, node_type) + s = os.stat(test_path) +- if (s.st_mode & stat.S_IRWXU == stat.S_IRWXU): ++ if (s.st_mode & (stat.S_IRUSR | stat.S_IXUSR) == ++ (stat.S_IRUSR | stat.S_IXUSR)): + return test_path + if '.svn' in dirs: + dirs.remove('.svn') +@@ -514,7 +515,8 @@ + if node_type in files: + test_path = os.path.join(p, node_type) + s = os.stat(test_path) +- if (s.st_mode & stat.S_IRWXU == stat.S_IRWXU): ++ if (s.st_mode & (stat.S_IRUSR | stat.S_IXUSR) == ++ (stat.S_IRUSR | stat.S_IXUSR)): + return test_path + if '.svn' in dirs: + dirs.remove('.svn') |