From b7c12ad018a468b3c68de56741aed481f5afb42a Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 26 Sep 2006 13:51:37 +0000 Subject: 2006-09-26 Martin Hunt * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now behaves the same as procfs. --- runtime/ChangeLog | 5 +++++ runtime/io.c | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'runtime') diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 92db1160..402749db 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,8 @@ +2006-09-26 Martin Hunt + + * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now + behaves the same as procfs. + 2006-09-22 Martin Hunt * print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE. diff --git a/runtime/io.c b/runtime/io.c index b72590f3..846a83d8 100644 --- a/runtime/io.c +++ b/runtime/io.c @@ -56,19 +56,12 @@ static void _stp_vlog (enum code type, char *func, int line, const char *fmt, va } buf[num + start] = '\0'; -#ifdef STP_RELAYFS - if (type != DBUG) - _stp_write(STP_OOB_DATA, buf, start + num + 1); - _stp_string_cat_cstr(_stp_stdout,buf); - _stp_print_flush(); -#else if (type != DBUG) _stp_write(STP_OOB_DATA, buf, start + num + 1); else { _stp_string_cat_cstr(_stp_stdout,buf); _stp_print_flush(); } -#endif } put_cpu(); } -- cgit