s3: "read_block" only looks at the size
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 12:06:44 +0000 (13:06 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:04 +0000 (11:22 +0100)
source3/registry/regfio.c

index 7db51068e81f4ea948ead794e3b816c0e6fc2a3a..d1333353fd558f7d400d65f66c26b6cd5ffc3dd9 100644 (file)
@@ -79,7 +79,7 @@ static int read_block( REGF_FILE *file, prs_struct *ps, uint32 file_offset, uint
 
        /* check for end of file */
 
-       if (sys_fstat(file->fd, &sbuf, lp_fake_dir_create_times())) {
+       if (sys_fstat(file->fd, &sbuf, false)) {
                DEBUG(0,("read_block: stat() failed! (%s)\n", strerror(errno)));
                return -1;
        }