Fossil

Check-in [5d7c00f7]
Login

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

Overview
Comment:Another invocation of the backoffice was found where the option "--nocgi" might be necessary.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | backoffice-win
Files: files | file ages | folders
SHA3-256: 5d7c00f7e5360bcfbf75e7e360b14d048eadd4beeb23a830773aa48358419316
User & Date: tsbg 2019-04-26 16:53:36.052
Context
2019-04-26
16:53
Another invocation of the backoffice was found where the option "--nocgi" might be necessary. ... (Closed-Leaf check-in: 5d7c00f7 user: tsbg tags: backoffice-win)
16:45
Make sure that the "--nocgi" option gets removed from the command line (hint: short circuit evaluation of the && operator). ... (check-in: 417e2b41 user: tsbg tags: backoffice-win)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/backoffice.c.
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
      time_t iNext = time(0);
      for(i=2; i<g.argc; i++){
        Blob cmd;
        if( !file_isfile(g.argv[i], ExtFILE) ) continue;
        if( iNow && iNow>file_mtime(g.argv[i],ExtFILE) ) continue;
        blob_init(&cmd, 0, 0);
        blob_append_escaped_arg(&cmd, g.nameOfExe);
        blob_append(&cmd, " backoffice --nodelay", -1);
        if( g.fAnyTrace ){
          blob_append(&cmd, " --trace", -1);
        }
        blob_append_escaped_arg(&cmd, g.argv[i]);
        nCmd++;
        if( bDebug ){
          fossil_print("COMMAND[%u]: %s\n", nCmd, blob_str(&cmd));







|







600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
      time_t iNext = time(0);
      for(i=2; i<g.argc; i++){
        Blob cmd;
        if( !file_isfile(g.argv[i], ExtFILE) ) continue;
        if( iNow && iNow>file_mtime(g.argv[i],ExtFILE) ) continue;
        blob_init(&cmd, 0, 0);
        blob_append_escaped_arg(&cmd, g.nameOfExe);
        blob_append(&cmd, " backoffice --nocgi --nodelay", -1);
        if( g.fAnyTrace ){
          blob_append(&cmd, " --trace", -1);
        }
        blob_append_escaped_arg(&cmd, g.argv[i]);
        nCmd++;
        if( bDebug ){
          fossil_print("COMMAND[%u]: %s\n", nCmd, blob_str(&cmd));