Subversion Repositories SvarDOS

Rev

Rev 633 | Rev 712 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 633 Rev 675
Line 36... Line 36...
36
#include "unchunk.h"
36
#include "unchunk.h"
37
 
37
 
38
#include "../../pkg/trunk/lsm.h"
38
#include "../../pkg/trunk/lsm.h"
39
 
39
 
40
 
40
 
41
#define PVER "20220208"
41
#define PVER "20220214"
42
#define PDATE "2021-2022"
42
#define PDATE "2021-2022"
43
 
43
 
44
#define HOSTADDR "svardos.org"
44
#define HOSTADDR "svardos.org"
45
 
45
 
46
 
46
 
Line 101... Line 101...
101
    /* copy argv[2] into outfname, but stop at first '-' or null terminator
101
    /* copy argv[2] into outfname, but stop at first '-' or null terminator
102
     * this trims any '-version' part in filename to respect 8+3 */
102
     * this trims any '-version' part in filename to respect 8+3 */
103
    for (i = 0; (argv[2][i] != 0) && (argv[2][i] != '-') && (i < 8); i++) {
103
    for (i = 0; (argv[2][i] != 0) && (argv[2][i] != '-') && (i < 8); i++) {
104
      outfname[i] = argv[2][i];
104
      outfname[i] = argv[2][i];
105
    }
105
    }
106
    /* add the zip extension to filename */
106
    /* add the svp extension to filename */
107
    strcpy(outfname + i, ".zip");
107
    strcpy(outfname + i, ".svp");
108
  } else if ((argc == 2) && (strcasecmp(argv[1], "checkup") == 0)) {
108
  } else if ((argc == 2) && (strcasecmp(argv[1], "checkup") == 0)) {
109
    sprintf(url, "/repo/?a=checkup");
109
    sprintf(url, "/repo/?a=checkup");
110
    *ispost = 1;
110
    *ispost = 1;
111
  } else {
111
  } else {
112
    help();
112
    help();