From c21ff8f76209a1e7138ba06ce262a3e2c2880646 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 8 Apr 2002 01:58:44 +0000 Subject: Reintroduce the 2.2 name mangling code, until we get are more flexible solution. Even for a hash/cache setup, this code needs some more work, in particular it needs to use mangle_get_prefix() etc and to move to unicode internals. Andrew Bartlett (This used to be commit ad8aa470575c39fcbc7f1440bf1081d7ea31c0aa) --- source3/smbd/reply.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index af582f1a41..421f886283 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3021,10 +3021,10 @@ NTSTATUS rename_internals(connection_struct *conn, char *name, char *newname, BO * Tine Smukavec . */ -#if 0 +#if 1 if (!rc && is_mangled(mask)) check_mangled_cache( mask ); -#endif +#else if (!rc) { char *unmangled; @@ -3035,6 +3035,7 @@ NTSTATUS rename_internals(connection_struct *conn, char *name, char *newname, BO SAFE_FREE(unmangled); } +#endif has_wild = ms_has_wild(mask); @@ -3437,10 +3438,10 @@ int reply_copy(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, * Tine Smukavec . */ -#if 0 +#if 1 if (!rc && is_mangled(mask)) check_mangled_cache( mask ); -#endif +#else if (!rc) { char *unmangled; @@ -3451,7 +3452,7 @@ int reply_copy(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, SAFE_FREE(unmangled); } - +#endif has_wild = ms_has_wild(mask); -- cgit