diff options
author | Jeremy Allison <jra@samba.org> | 1998-01-24 08:49:21 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-01-24 08:49:21 +0000 |
commit | 4f650dab6f867bda2beeeda71b2b97e75834853f (patch) | |
tree | b67637d60b942fc454301cbc614c91613901284a /source3/smbd/reply.c | |
parent | a215c98602c0849819a50de6b13f8c41824ef08a (diff) | |
download | samba-4f650dab6f867bda2beeeda71b2b97e75834853f.tar.gz samba-4f650dab6f867bda2beeeda71b2b97e75834853f.tar.bz2 samba-4f650dab6f867bda2beeeda71b2b97e75834853f.zip |
Added get_create_time() function to time.c.
This gets the minimum timestamp associated with a file.
reply.c and trans2.c then return this as the create
time. Designed to fix problems with VC++ and others.
Jeremy.
(This used to be commit e3d5f6196d6eff707c78941696a368216e2a7410)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 746c79db21..4703dea475 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3916,7 +3916,7 @@ int reply_getattrE(char *inbuf,char *outbuf) /* Convert the times into dos times. Set create date to be last modify date as UNIX doesn't save this */ - put_dos_date2(outbuf,smb_vwv0,sbuf.st_mtime); + put_dos_date2(outbuf,smb_vwv0,get_create_time(&sbuf)); put_dos_date2(outbuf,smb_vwv2,sbuf.st_atime); put_dos_date2(outbuf,smb_vwv4,sbuf.st_mtime); if (mode & aDIR) |