}
void parse_options(struct model_params *params) {
- const char *shortopts = "hrnt:o:x:v:m:f::";
+ const char *shortopts = "hrnt:o:x:v:m:f:";
const struct option longopts[] = {
{"help", no_argument, NULL, 'h'},
{"removevisible", no_argument, NULL, 'r'},
}
argc++; //first parameter is executable name
char optcpy[index + 1];
- memcpy(optcpy, options, index+1);
+ real_memcpy(optcpy, options, index+1);
char * argv[argc + 1];
argv[0] = NULL;
argv[1] = optcpy;