summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-23 02:57:44 +0000
committerJeremy Allison <jra@samba.org>2002-03-23 02:57:44 +0000
commitc90cd26e9430b2fc065f620bdb6aaf4be0372fcc (patch)
tree24d94d8df7d083923998f92d07202fa5cae66c3b /source3/utils
parentce236d1dbf2673e2ff921683554cee41fca33249 (diff)
downloadsamba-c90cd26e9430b2fc065f620bdb6aaf4be0372fcc.tar.gz
samba-c90cd26e9430b2fc065f620bdb6aaf4be0372fcc.tar.bz2
samba-c90cd26e9430b2fc065f620bdb6aaf4be0372fcc.zip
Fix the mp3 rename bug - also tidy up our open code and remove the special
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 58efecbce1..6f4b9eb28c 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -90,8 +90,8 @@ static void print_share_mode(share_mode_entry *e, char *fname)
static int count;
if (count==0) {
d_printf("Locked files:\n");
- d_printf("Pid DenyMode R/W Oplock Name\n");
- d_printf("--------------------------------------------------\n");
+ d_printf("Pid DenyMode Access R/W Oplock Name\n");
+ d_printf("--------------------------------------------------------------\n");
}
count++;
@@ -105,6 +105,7 @@ static void print_share_mode(share_mode_entry *e, char *fname)
case DENY_WRITE:printf("DENY_WRITE "); break;
case DENY_FCB: d_printf("DENY_FCB "); break;
}
+ d_printf("0x%-8x ",(unsigned int)e->desired_access);
switch (e->share_mode&0xF) {
case 0: d_printf("RDONLY "); break;
case 1: d_printf("WRONLY "); break;