summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/chdir.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-03 08:34:35 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-03 08:34:35 +0000
commita139078c4d0eae10fcc914d88ea89a6cbf9827bb (patch)
tree62a8aaa4d698c17f96f486921fa90433604d529a /source3/smbwrapper/chdir.c
parent65cfbc97ae671a8fe6a3a3b522f25ed0ce4d974d (diff)
downloadsamba-a139078c4d0eae10fcc914d88ea89a6cbf9827bb.tar.gz
samba-a139078c4d0eae10fcc914d88ea89a6cbf9827bb.tar.bz2
samba-a139078c4d0eae10fcc914d88ea89a6cbf9827bb.zip
lots of improvements to smbwrapper. It now works with Samba, Win95 and
WinNT servers, and correctly lists share names in /smb/SERVER/ (This used to be commit 1ea349728b8984bfe5cf5df41a87efbe17ff5ccd)
Diffstat (limited to 'source3/smbwrapper/chdir.c')
-rw-r--r--source3/smbwrapper/chdir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbwrapper/chdir.c b/source3/smbwrapper/chdir.c
index 13e9e0fa55..41b3772603 100644
--- a/source3/smbwrapper/chdir.c
+++ b/source3/smbwrapper/chdir.c
@@ -21,6 +21,10 @@
#include "wrapper.h"
+#ifdef linux
+__asm__(".globl __chdir; __chdir = chdir");
+#endif
+
int chdir(__const char *name)
{
return smbw_chdir(name);