From a39f08eec29235d9b09c169e3a95eba0484c7847 Mon Sep 17 00:00:00 2001 From: James Peach Date: Thu, 8 Mar 2007 21:30:15 +0000 Subject: r21767: Revert all the bits I accidentally committed in r21766. (This used to be commit 7e862b908057b7971f8163ee94c9358a63998e87) --- source3/modules/vfs_default.c | 3 ++- source3/script/tests/selftest.sh | 4 +--- source3/script/tests/test_functions.sh | 4 ++-- source3/script/tests/test_posix_s3.sh | 9 +-------- source3/script/tests/tests_all.sh | 6 +++--- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index d1772eaf08..4febc064d9 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -905,7 +905,8 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle, static int vfswrap_chflags(vfs_handle_struct *handle, const char *path, int flags) { - return chflags(path, flags); + errno = ENOSYS; + return -1; } static size_t vfswrap_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, uint32 security_info, SEC_DESC **ppdesc) diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index ba194dfa11..d5cd2fbeda 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -1,6 +1,5 @@ #!/bin/sh -set -x if [ $# != 3 ]; then echo "$0 " exit 1 @@ -94,6 +93,7 @@ cat >$COMMONCONFFILE<$SERVERCONFFILE<$SERVERCONFFILE<