Overview
Comment: | Renamed options struct, to not be confused get getopt long options |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
160dcdcda41769332603eb4226d69c94 |
User & Date: | rkeene on 2020-04-03 19:03:07 |
Other Links: | manifest | tags |
Context
2020-04-13
| ||
15:47 | Added an "--static-init" option to creation to make the Xvfs_fsName_Init function static, if needed to be included into a .c file check-in: 717062426a user: rkeene tags: trunk | |
2020-04-03
| ||
19:03 | Renamed options struct, to not be confused get getopt long options check-in: 160dcdcda4 user: rkeene tags: trunk | |
2020-04-01
| ||
21:18 | Win32 and generic fix-ups check-in: f01f82c2d8 user: rkeene tags: trunk | |
Changes
Modified xvfs-create-c.c from [8abf7d803b] to [56b4842ff2].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | #include <sys/stat.h> #include <stdlib.h> #include <string.h> #include <dirent.h> #include <stdio.h> #include <ctype.h> #include <fcntl.h> |
︙ | |||
289 290 291 292 293 294 295 | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | - + | fprintf(outfp, "\t\tif (strcmp(path, xvfs_example_data[pathIndex].name) == 0) {\n"); fprintf(outfp, "\t\t\treturn(pathIndex);\n"); fprintf(outfp, "\t\t}\n"); fprintf(outfp, "\t}\n"); return; } |
︙ | |||
324 325 326 327 328 329 330 | 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 | - + | } else { fprintf(outfp, "@INVALID@%s@INVALID@", buffer_p); } return; } |
︙ | |||
408 409 410 411 412 413 414 | 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | - + | } #undef parse_xvfs_minirivet_getbyte return(1); } |
︙ | |||
456 457 458 459 460 461 462 | 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 | - + | return(retval); } /* * Parse command line options */ |
︙ | |||
495 496 497 498 499 500 501 | 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 | - + | retval = 0; } return(retval); } int main(int argc, char **argv) { |
︙ |