From c7fdcb82d3cc6ac194f5294d86724fc6e8074059 Mon Sep 17 00:00:00 2001 From: Gene Cumm Date: Sat, 2 Oct 2010 00:43:24 -0400 Subject: [PATCH] rosh: Rename function as it's verbose rosh_pr_argv and ROSH_DEBUG_ARGV are verbose, printing the argument number and single-quoted string out. --- com32/rosh/rosh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c index 8d063e6..0cc0345 100644 --- a/com32/rosh/rosh.c +++ b/com32/rosh/rosh.c @@ -202,7 +202,7 @@ void rosh_free_argv(char ***argv) free_args1(argv); } -void rosh_pr_argv(int argc, char *argv[]) +void rosh_pr_argv_v(int argc, char *argv[]) { int i; for (i = 0; i < argc; i++) { @@ -426,7 +426,7 @@ void rosh_cd(int argc, char *argv[], const char *ipwdstr) char filestr[ROSH_PATH_SZ]; #endif /* DO_DEBUG */ ROSH_DEBUG("CMD: \n"); - ROSH_DEBUG_ARGV(argc, argv); + ROSH_DEBUG_ARGV_V(argc, argv); if (argc == 2) rv = chdir(argv[1]); else if (argc == 1) @@ -1120,7 +1120,7 @@ char rosh_command(int argc, char *argv[], const char *ipwdstr) tlen = strlen(argv[0]); rosh_argcat(cmdstr, argc, argv, 0); ROSH_DEBUG("--cmd:'%s'\n", cmdstr); - ROSH_DEBUG_ARGV(argc, argv); + ROSH_DEBUG_ARGV_V(argc, argv); switch (argv[0][0]) { case 'e': case 'E': -- 2.7.4