Changeset 49


Ignore:
Timestamp:
Aug 2, 2007, 9:22:55 AM (13 years ago)
Author:
Paul Smedley
Message:

Fix file access-modify times - should fix ticket #16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/ndpsmb/smbwrp.c

    r42 r49  
    763763//debuglocal(2,("gotattr1 %08x <%s>\n", finfo->attr, finfo->fname));
    764764                finfo->mtime -= get_time_zone(finfo->mtime);
    765                 finfo->atime = finfo->mtime;
    766                 finfo->ctime = finfo->mtime;
     765                finfo->atime = finfo->atime;  //was mtime
     766                finfo->ctime = finfo->ctime;  //was mtime
    767767                cli->capabilities &= CAP_NOPATHINFO2;
    768768                return 0;
     
    877877        strncpy(finfo.fname, job->name, sizeof(finfo.fname) - 1);
    878878        finfo.mtime = job->t - get_time_zone(job->t);
    879         finfo.atime = finfo.mtime;
    880         finfo.ctime = finfo.mtime;
     879        finfo.atime = finfo.atime; //was mtime
     880        finfo.ctime = finfo.ctime; //was mtime
    881881        finfo.attr = aRONLY;
    882882        finfo.size = job->size;
Note: See TracChangeset for help on using the changeset viewer.