From 4e8b4a20ab3a21c69c03b548709b60267b50af44 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Oct 1998 04:58:33 +0000 Subject: got rid of all assembly code and gcc special features. I'm hoping to get smbsh working with the normal sun compiler (This used to be commit c6ee915336e1533e1f4f10f14b3d57de01f8fe96) --- source3/smbwrapper/smbw_dir.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'source3/smbwrapper/smbw_dir.c') diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c index bd8c91682e..39fe034e7b 100644 --- a/source3/smbwrapper/smbw_dir.c +++ b/source3/smbwrapper/smbw_dir.c @@ -166,8 +166,6 @@ int smbw_dir_open(const char *fname) int fd; char *s, *p; - DEBUG(4,("%s\n", __FUNCTION__)); - if (!fname) { errno = EINVAL; return -1; @@ -266,8 +264,6 @@ int smbw_dir_fstat(int fd, struct stat *st) { struct smbw_dir *dir; - DEBUG(4,("%s\n", __FUNCTION__)); - dir = smbw_dir(fd); if (!dir) { errno = EBADF; @@ -290,11 +286,8 @@ int smbw_dir_close(int fd) { struct smbw_dir *dir; - DEBUG(4,("%s\n", __FUNCTION__)); - dir = smbw_dir(fd); if (!dir) { - DEBUG(4,("%s(%d)\n", __FUNCTION__, __LINE__)); errno = EBADF; return -1; } @@ -317,8 +310,6 @@ int smbw_getdents(unsigned int fd, struct dirent *dirp, int count) struct smbw_dir *dir; int n=0; - DEBUG(4,("%s\n", __FUNCTION__)); - smbw_busy++; dir = smbw_dir(fd); @@ -371,8 +362,6 @@ int smbw_chdir(const char *name) goto failed; } - DEBUG(4,("%s (%s)\n", __FUNCTION__, name)); - /* work out what server they are after */ cwd = smbw_parse_path(name, server, share, path); @@ -436,9 +425,6 @@ off_t smbw_dir_lseek(int fd, off_t offset, int whence) struct smbw_dir *dir; off_t ret; - DEBUG(4,("%s offset=%d whence=%d\n", __FUNCTION__, - (int)offset, whence)); - dir = smbw_dir(fd); if (!dir) { errno = EBADF; @@ -475,8 +461,6 @@ int smbw_mkdir(const char *fname, mode_t mode) fstring server, share; pstring path; - DEBUG(4,("%s (%s)\n", __FUNCTION__, fname)); - if (!fname) { errno = EINVAL; return -1; @@ -518,8 +502,6 @@ int smbw_rmdir(const char *fname) fstring server, share; pstring path; - DEBUG(4,("%s (%s)\n", __FUNCTION__, fname)); - if (!fname) { errno = EINVAL; return -1; @@ -595,8 +577,6 @@ int smbw_fchdir(unsigned int fd) { struct smbw_dir *dir; - DEBUG(4,("%s\n", __FUNCTION__)); - smbw_busy++; dir = smbw_dir(fd); -- cgit