diff options
author | Jeremy Allison <jra@samba.org> | 2007-01-12 23:47:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:04 -0500 |
commit | db0ad252a0622dfac17d44ca646168df4c1c22e5 (patch) | |
tree | 36128572dc6d4319ec9f7ab4622aa620d165b3b9 /source3/smbd/dosmode.c | |
parent | 700c3ab1c94fcd0ff422afa0e0e3faf419b3c5af (diff) | |
download | samba-db0ad252a0622dfac17d44ca646168df4c1c22e5.tar.gz samba-db0ad252a0622dfac17d44ca646168df4c1c22e5.tar.xz samba-db0ad252a0622dfac17d44ca646168df4c1c22e5.zip |
r20718: Sync up the filename path parsing changes from SAMBA_3_0_24.
The only difference between the two trees now w.r.t file
serving are the changes to smbd/open.c in this branch I need
to review.
Jeremy.
(This used to be commit f4474edf6a0c71001dbd01429ef70bafad6abd74)
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r-- | source3/smbd/dosmode.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 1172fe3e6b..ff4291c08c 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -35,14 +35,6 @@ static int set_sparse_flag(const SMB_STRUCT_STAT * const sbuf) Work out whether this file is offline ****************************************************************************/ -#ifndef ISDOT -#define ISDOT(p) (*(p) == '.' && *((p) + 1) == '\0') -#endif /* ISDOT */ - -#ifndef ISDOTDOT -#define ISDOTDOT(p) (*(p) == '.' && *((p) + 1) == '.' && *((p) + 2) == '\0') -#endif /* ISDOTDOT */ - static uint32 set_offline_flag(connection_struct *conn, const char *const path) { if (ISDOT(path) || ISDOTDOT(path)) { |