# HG changeset patch # User Heiko Schlittermann # Date 1294866428 -3600 # Node ID 35178e8b7de3ea210663b9af4a28c5c59dbb944e # Parent 3b5b7a4bf44609ce6607ba820dd0571915ddc74f putchar instead of putc diff -r 3b5b7a4bf446 -r 35178e8b7de3 bounds.c --- a/bounds.c Wed Jan 12 21:59:15 2011 +0100 +++ b/bounds.c Wed Jan 12 22:07:08 2011 +0100 @@ -21,18 +21,18 @@ // text bis end ausgeben for (step = &etext; step < &end; step++) { printf("%p: ", step); - if (isalnum(*step)) putc(*step, stdout); + if (isalnum(*step)) putchar(*step); else printf("<%02x>", *step); - puts(""); + putchar('\n'); } //alles nach end ausgeben: step = &end; while (1) { printf("%p: ", step); - if (isalnum(*step)) putc(*step, stdout); + if (isalnum(*step)) putchar(*step); else printf("<%02x>", *step); - puts(""); + putchar('\n'); step++; }