aboutsummaryrefslogtreecommitdiffstats
path: root/src/msec_find/find.c
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2008-01-11 13:31:09 +0000
committerAndreas Hasenack <andreas@mandriva.com>2008-01-11 13:31:09 +0000
commit949ca6076e8b90695f7dba5d0f0e860ec731e138 (patch)
tree09f5ddd4d01a9b1f549a4cecf3bee56e8c514953 /src/msec_find/find.c
parent8008f5d72be144a46b1cb48613e0dc785aee1aad (diff)
downloadmsec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar.gz
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar.bz2
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.tar.xz
msec-949ca6076e8b90695f7dba5d0f0e860ec731e138.zip
- oops, revert 232939, more changes got into that commit than I wanted
Diffstat (limited to 'src/msec_find/find.c')
-rw-r--r--src/msec_find/find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msec_find/find.c b/src/msec_find/find.c
index 0920b73..a9e96aa 100644
--- a/src/msec_find/find.c
+++ b/src/msec_find/find.c
@@ -114,7 +114,7 @@ static int traverse(const char *file, const struct stat *sb, int flag, struct FT
/*
* Is world writable check.
*/
- if ((sb->st_mode & 0002) && !(S_ISSOCK(sb->st_mode)) && !(S_ISFIFO(sb->st_mode)))
+ if (sb->st_mode & 0002)
fprintf(writable_fd, "%s\n", file);
/*