From f2d8f110db994588cb85a9c0c22c0941f4ccca38 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Oct 1998 15:01:11 +0000 Subject: fixed vi on smbwrappper (it was a problem in cli_read()) (This used to be commit 1dcc84b942d4669f978aebdeaf85ea609c2b732f) --- source3/smbwrapper/README | 4 +--- source3/smbwrapper/smbw.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/smbwrapper') diff --git a/source3/smbwrapper/README b/source3/smbwrapper/README index dfea54872e..14e7af700e 100644 --- a/source3/smbwrapper/README +++ b/source3/smbwrapper/README @@ -22,14 +22,12 @@ This is code under development. Lots of things don't work yet. Things that I have tried and do seem to work include: emacs, tar, ls, cmp, cp, rsync, du, cat, rm, mv, less, more, wc, head, - tail, bash, tcsh, mkdir, rmdir + tail, bash, tcsh, mkdir, rmdir, vim, xedit things that I know don't work: - vi (I don't know why this is) anything executing from the share anything that uses mmap - If you want to help with the development of this code then join the samba-technical mailing list. diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index d6964790d6..799a7f02cc 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -909,7 +909,7 @@ ssize_t smbw_read(int fd, void *buf, size_t count) struct smbw_file *file; int ret; - DEBUG(4,("%s\n", __FUNCTION__)); + DEBUG(4,("%s %d\n", __FUNCTION__, (int)count)); smbw_busy++; -- cgit