From 7e862b908057b7971f8163ee94c9358a63998e87 Mon Sep 17 00:00:00 2001 From: James Peach Date: Thu, 8 Mar 2007 21:30:15 +0000 Subject: [PATCH] r21767: Revert all the bits I accidentally committed in r21766. --- source/modules/vfs_default.c | 3 ++- source/script/tests/selftest.sh | 4 +--- source/script/tests/test_functions.sh | 4 ++-- source/script/tests/test_posix_s3.sh | 9 +-------- source/script/tests/tests_all.sh | 6 +++--- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c index d1772eaf080..4febc064d94 100644 --- a/source/modules/vfs_default.c +++ b/source/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/source/script/tests/selftest.sh b/source/script/tests/selftest.sh index ba194dfa111..d5cd2fbedac 100755 --- a/source/script/tests/selftest.sh +++ b/source/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<