Fossil

Check-in [fb2d6374]
Login

Check-in [fb2d6374]

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

Overview
Comment:diffcmd.c: Fix a typo in comment for file_same_as_blob()
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fb2d6374f5e34230bdeb2af3810f2804b1a6cbb25a105f8b95c52e896296e7cc
User & Date: js 2021-12-04 13:23:12
Context
2021-12-06
07:24
Disable the short option of `-U|--username USERNAME' for the `winsrv' command, as it conflicts with the global `-U|--user USER' option, and could never be used, anyway. ... (check-in: 10e71001 user: florian tags: trunk)
2021-12-04
13:23
diffcmd.c: Fix a typo in comment for file_same_as_blob() ... (check-in: fb2d6374 user: js tags: trunk)
08:23
Updated MINIMUM_SQLITE_VERSION to 3.37, as reported in forum post 81cd206073. ... (check-in: ebea00c5 user: stephan tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/diffcmd.c.

551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
    blob_reset(&temp1);
    blob_reset(&temp2);
    blob_reset(&cmd);
  }
}

/*
** Return true the disk file is identical to the Blob.  Return zero
** if the files differ in any way.
*/
static int file_same_as_blob(Blob *blob, const char *zDiskFile){
  Blob file;
  int rc = 0;
  if( blob_size(blob)!=file_size(zDiskFile, ExtFILE) ) return 0;
  blob_zero(&file);







|







551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
    blob_reset(&temp1);
    blob_reset(&temp2);
    blob_reset(&cmd);
  }
}

/*
** Return true if the disk file is identical to the Blob.  Return zero
** if the files differ in any way.
*/
static int file_same_as_blob(Blob *blob, const char *zDiskFile){
  Blob file;
  int rc = 0;
  if( blob_size(blob)!=file_size(zDiskFile, ExtFILE) ) return 0;
  blob_zero(&file);