From 8fe079eadc6b11371f182e29779937bacb308327 Mon Sep 17 00:00:00 2001 From: mikehh Date: Wed, 15 Sep 2010 19:43:45 +0000 Subject: [PATCH] fix codetest failure - trailing spaces git-svn-id: https://svn.parrot.org/parrot/trunk@49026 d31e2699-5ff4-0310-a27c-f18f2fbe73fe --- src/debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/debug.c b/src/debug.c index e87b461294..8cd3b8f508 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1613,7 +1613,7 @@ list_breakpoints(ARGIN(PDB_t *pdb)) if (pdb->breakpoint) for (breakpoint = pdb->breakpoint; - breakpoint; + breakpoint; breakpoint = breakpoint->next) display_breakpoint(pdb, breakpoint); @@ -2822,7 +2822,7 @@ PDB_load_source(PARROT_INTERP, ARGIN(const char *command)) /* Allocate a file block and the source buffer. */ dfile = mem_gc_allocate_zeroed_typed(interp, PDB_file_t); - dfile->source = mem_gc_allocate_n_typed(interp, DEBUG_SOURCE_BUFFER_CHUNK, + dfile->source = mem_gc_allocate_n_typed(interp, DEBUG_SOURCE_BUFFER_CHUNK, char); buffer_size = DEBUG_SOURCE_BUFFER_CHUNK; @@ -2856,7 +2856,7 @@ PDB_load_source(PARROT_INTERP, ARGIN(const char *command)) if (ch == EOF) { dfile->source[dfile->size++] = '\n'; Parrot_io_eprintf(pdb->debugger, - "(Newline appended to last line of file)\n"); + "(Newline appended to last line of file)\n"); } /* Allocate a line block and store information about the line. -- 2.11.4.GIT