1 ===================================================================
2 RCS file: /cvsroot/poldek/poldek/cli/shell.c,v
3 retrieving revision 1.28
4 retrieving revision 1.29
6 --- poldek/poldek/cli/shell.c 2006/01/07 01:06:48 1.28
7 +++ poldek/poldek/cli/shell.c 2006/05/11 09:51:53 1.29
9 snprintf(prompt, sizeof(prompt), "poldek:%s%s> ",
10 currdir == NULL ? "/" : *currdir->name == '/' ? "" : "/",
11 currdir == NULL ? "" : currdir->name);
13 if ((line = readline(prompt)) == NULL)
16 + /* add to history? */
24 s = n_str_strip_ws(line);
26 int _verbose = poldek_verbose();
28 - //print_mem_info("BEFORE");
33 + MEMINF("BEFORE %s\n", s);
34 poclidek_execline(cctx, NULL, s);
35 + MEMINF("AFTER %s\n", s);
41 poldek_set_verbose(_verbose);
42 - //print_mem_info("AFTER ");