Mike Frysinger
e8f20a28b1
sim: split program path out of argv vector
...
We use the program argv to both find the program to run (argv[0]) and
to hold the arguments to the program. Most of the time this is fine,
but if we want to let programs specify argv[0] independently (which is
possible in standard *NIX programs), this double duty doesn't work.
So let's split the path to the program to run out into a separate
field by itself. This simplifies the various sim_open funcs too.
By itself, this code is more of a logical cleanup than something that
is super useful. But it will open up customization of argv[0] in a
follow up commit. Split the changes to make it easier to review.
2021-11-15 02:53:29 -05:00
..
2021-10-31 04:50:44 -04:00
2021-05-16 22:38:41 -04:00
2021-06-30 01:52:51 -04:00
2021-05-16 22:38:41 -04:00
2021-06-27 10:44:22 -04:00
2021-06-27 10:42:51 -04:00
2021-05-16 22:38:41 -04:00
2021-06-27 10:48:07 -04:00
2021-06-30 12:41:53 -04:00
2021-06-30 13:33:18 -04:00
2021-06-27 10:49:38 -04:00
2021-06-27 10:46:27 -04:00
2021-09-09 01:28:58 -04:00
2021-06-30 01:52:51 -04:00
2021-08-17 20:27:36 -04:00
2021-06-16 00:22:53 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-09-09 02:24:00 -04:00
2021-05-01 22:46:46 -04:00
2021-11-03 01:19:43 -04:00
2021-10-31 04:31:28 -04:00
2021-10-31 04:51:44 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-02 10:58:20 -04:00
2021-05-16 22:38:41 -04:00
2021-05-03 10:55:25 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-03 10:55:25 -04:00
2021-10-31 04:51:44 -04:00
2021-11-01 00:27:49 -04:00
2021-10-31 04:51:44 -04:00
2021-11-15 02:53:29 -05:00
2021-06-12 23:51:35 -04:00
2021-06-12 23:51:35 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-11-15 02:53:29 -05:00
2021-06-18 00:50:14 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-06-17 23:20:13 -04:00
2021-06-30 03:00:26 -04:00
2021-06-18 00:50:14 -04:00
2021-06-30 01:52:51 -04:00
2021-04-12 00:14:32 -04:00
2021-05-16 22:38:41 -04:00
2021-06-17 00:11:48 -04:00
2021-06-30 12:28:28 -04:00
2021-06-30 12:28:28 -04:00
2021-10-31 23:05:45 -04:00
2021-04-22 12:07:14 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-06-17 00:11:48 -04:00
2021-05-04 21:52:38 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-06-19 22:49:52 -04:00
2021-11-11 00:16:33 -05:00
2021-06-29 02:20:28 -04:00
2021-05-16 22:38:41 -04:00
2021-05-16 22:38:41 -04:00
2021-06-30 02:57:45 -04:00
2021-06-30 02:57:45 -04:00
2021-06-30 12:41:53 -04:00
2021-05-14 00:41:05 -04:00
2021-11-15 02:53:29 -05:00
2021-06-30 13:33:18 -04:00
2021-06-30 12:38:39 -04:00
2021-06-18 00:50:14 -04:00
2021-05-16 22:38:41 -04:00
2021-06-18 00:50:14 -04:00
2021-05-16 22:38:41 -04:00
2021-06-18 00:50:14 -04:00
2021-06-18 00:50:14 -04:00
2021-10-31 04:53:22 -04:00
2021-06-17 00:11:48 -04:00
2021-06-30 12:34:01 -04:00
2021-06-30 12:34:01 -04:00
2021-11-15 02:53:29 -05:00
2021-06-29 02:00:29 -04:00
2021-06-18 00:50:14 -04:00
2021-02-06 12:12:51 -05:00
2021-10-31 04:53:22 -04:00
2021-10-31 04:31:28 -04:00
2021-10-31 04:51:44 -04:00
2021-10-31 04:39:13 -04:00