/ Check-in [f8696b60]
Login

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

Overview
Comment:Do not use the %lld printf conversion in the platform printf() as some legacy platforms do not support it.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f8696b60eec0dcacfe92d9a31cbf1436d674140e5447de0cd1c2f52bff6c2be4
User & Date: drh 2019-06-13 14:07:41
Context
2019-06-13
16:14
Add a new requirement mark on the ctime.c code. check-in: c4b40568 user: drh tags: trunk
14:07
Do not use the %lld printf conversion in the platform printf() as some legacy platforms do not support it. check-in: f8696b60 user: drh tags: trunk
13:52
Fix a minor error in a test script, and harmless compiler warnings in the CLI code. check-in: eaa34626 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

  7392   7392           }
  7393   7393         }
  7394   7394       }
  7395   7395       if( isOk==0 && iCtrl>=0 ){
  7396   7396         utf8_printf(p->out, "Usage: .filectrl %s %s\n", zCmd,aCtrl[iCtrl].zUsage);
  7397   7397         rc = 1;
  7398   7398       }else if( isOk==1 ){
  7399         -      raw_printf(p->out, "%lld\n", iRes);
         7399  +      char zBuf[100];
         7400  +      sqlite3_snprintf(sizeof(zBuf), zBuf, "%lld", iRes);
         7401  +      raw_printf(p->out, "%s\n", zBuf);
  7400   7402       }
  7401   7403     }else
  7402   7404   
  7403   7405     if( c=='f' && strncmp(azArg[0], "fullschema", n)==0 ){
  7404   7406       ShellState data;
  7405   7407       char *zErrMsg = 0;
  7406   7408       int doStats = 0;