Fossil

Check-in [1a6a154a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix an out-of-order local variable declaration in vfile.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:1a6a154a4eb53bbe064d2915b942783076ba52d8
User & Date: drh 2010-12-30 16:48:17
Context
2010-12-30
17:18
Fix the "200 Entries" submenu hyperlink for branch-view timelines. Ticket [e436a483c5b08a1aec] check-in: 6b9a5932 user: drh tags: trunk
16:48
Fix an out-of-order local variable declaration in vfile.c. check-in: 1a6a154a user: drh tags: trunk
16:46
Add a new #include to report.c that is needed by DMC/PellesC compilers. check-in: f5acf22b user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/vfile.c.

179
180
181
182
183
184
185
186
187

188
189
190
191
192
193
194
      chnged = 1;
    }else if( oldChnged>=2 ){
      chnged = oldChnged;
    }else if( rid==0 ){
      chnged = 1;
    }
    if( chnged!=1 ){
      currentMtime = file_mtime(0);
      i64 origSize = db_column_int64(&q, 6);

      if( origSize!=file_size(0) ){
        /* A file size change is definitive - the file has changed.  No
        ** need to check the sha1sum */
        chnged = 1;
      }
    }
    if( chnged!=1 && (checkMtime==0 || currentMtime!=oldMtime) ){







<

>







179
180
181
182
183
184
185

186
187
188
189
190
191
192
193
194
      chnged = 1;
    }else if( oldChnged>=2 ){
      chnged = oldChnged;
    }else if( rid==0 ){
      chnged = 1;
    }
    if( chnged!=1 ){

      i64 origSize = db_column_int64(&q, 6);
      currentMtime = file_mtime(0);
      if( origSize!=file_size(0) ){
        /* A file size change is definitive - the file has changed.  No
        ** need to check the sha1sum */
        chnged = 1;
      }
    }
    if( chnged!=1 && (checkMtime==0 || currentMtime!=oldMtime) ){