summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw_dir.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-05 04:58:33 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-05 04:58:33 +0000
commit4e8b4a20ab3a21c69c03b548709b60267b50af44 (patch)
treed9bd89a37c01b833a922258f8831945a0c7f6431 /source3/smbwrapper/smbw_dir.c
parenta2941d42441cc0e80b0c725544b43d8b3099d156 (diff)
downloadsamba-4e8b4a20ab3a21c69c03b548709b60267b50af44.tar.gz
samba-4e8b4a20ab3a21c69c03b548709b60267b50af44.tar.bz2
samba-4e8b4a20ab3a21c69c03b548709b60267b50af44.zip
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)
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r--source3/smbwrapper/smbw_dir.c20
1 files changed, 0 insertions, 20 deletions
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);