From 41c8f3da97a443fc4a9a987a3c2588eb07e324b3 Mon Sep 17 00:00:00 2001 From: James Peach Date: Thu, 8 Mar 2007 20:54:13 +0000 Subject: r21766: Fix compiler warning. (This used to be commit f82ac78b2fa623f5868201bd54ffac9c8f318eef) --- 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 +++--- source3/smbd/trans2.c | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) (limited to 'source3') diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 4febc064d9..d1772eaf08 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -905,8 +905,7 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle, static int vfswrap_chflags(vfs_handle_struct *handle, const char *path, int flags) { - errno = ENOSYS; - return -1; + return chflags(path, flags); } 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 d5cd2fbeda..ba194dfa11 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -1,5 +1,6 @@ #!/bin/sh +set -x if [ $# != 3 ]; then echo "$0 " exit 1 @@ -93,7 +94,6 @@ cat >$COMMONCONFFILE<$SERVERCONFFILE<$SERVERCONFFILE<