summaryrefslogtreecommitdiff
path: root/source/smbd/dir.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-11-05 04:21:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:19 -0500
commit414303bc0272f207046b471a0364fa296b67c1f8 (patch)
tree23f44e6bd20567bb3bf8a981325cf538c8021cf0 /source/smbd/dir.c
parentc93a08be4a29854354a16c6e8f984477e19f41c0 (diff)
downloadsamba-414303bc0272f207046b471a0364fa296b67c1f8.tar.gz
r11511: A classic "friday night check-in" :-). This moves much
of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
Diffstat (limited to 'source/smbd/dir.c')
-rw-r--r--source/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/dir.c b/source/smbd/dir.c
index 7ea97e69b01..c993012a254 100644
--- a/source/smbd/dir.c
+++ b/source/smbd/dir.c
@@ -94,7 +94,7 @@ void make_dir_struct(char *buf, const char *mask, const char *fname,SMB_OFF_T si
memset(buf+21,'\0',DIR_STRUCT_SIZE-21);
SCVAL(buf,21,mode);
- put_dos_date(buf,22,date);
+ srv_put_dos_date(buf,22,date);
SSVAL(buf,26,size & 0xFFFF);
SSVAL(buf,28,(size >> 16)&0xFFFF);
/* We only uppercase if FLAGS2_LONG_PATH_COMPONENTS is zero in the input buf.