s3: client "newer" does not look at the create timestamp
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 11:44:33 +0000 (12:44 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:02 +0000 (11:22 +0100)
source3/client/client.c

index 187fd88743566ec88a34dcb2bbcada203b687499..1990ae801b1ccdd77d3a2036f55a3a87345e2fe0 100644 (file)
@@ -3439,7 +3439,7 @@ static int cmd_newer(void)
        SMB_STRUCT_STAT sbuf;
 
        ok = next_token_talloc(ctx, &cmd_ptr,&buf,NULL);
-       if (ok && (sys_stat(buf, &sbuf, lp_fake_dir_create_times()) == 0)) {
+       if (ok && (sys_stat(buf, &sbuf, false) == 0)) {
                newer_than = convert_timespec_to_time_t(sbuf.st_ex_mtime);
                DEBUG(1,("Getting files newer than %s",
                         time_to_asc(newer_than)));