FreeCalypso > hg > fc-pcsc-tools
diff uicc/script.c @ 133:ede661d78730
fc-uicc-tool: command shell features match fc-simtool
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Feb 2021 22:30:54 +0000 |
parents | 1b1468869ccf |
children |
line wrap: on
line diff
--- a/uicc/script.c Sat Feb 20 22:23:03 2021 +0000 +++ b/uicc/script.c Sat Feb 20 22:30:54 2021 +0000 @@ -7,6 +7,8 @@ #include <string.h> #include <strings.h> +extern FILE *open_script_input_file(); + cmd_exec(argc, argv) char **argv; { @@ -14,7 +16,7 @@ char linebuf[512], *cp; int lineno, retval = 0; - f = fopen(argv[1], "r"); + f = open_script_input_file(argv[1]); if (!f) { perror(argv[1]); return(-1);