What the hell was the \b supposed to do? it fucks up the output!

This commit is contained in:
Enno Rehling 2006-01-14 09:45:42 +00:00
parent 2ac568cfa7
commit c768096df3

View file

@ -87,7 +87,7 @@ _log_warn(const char * format, ...)
va_end(marker); va_end(marker);
if (logfile!=stderr) { if (logfile!=stderr) {
if (flags & LOG_CPWARNING) { if (flags & LOG_CPWARNING) {
fputs("\bWARNING: ", stderr); fputs("WARNING: ", stderr);
va_start(marker, format); va_start(marker, format);
vfprintf(stderr, format, marker); vfprintf(stderr, format, marker);
va_end(marker); va_end(marker);
@ -111,7 +111,7 @@ _log_error(const char * format, ...)
va_end(marker); va_end(marker);
if (logfile!=stderr) { if (logfile!=stderr) {
if (flags & LOG_CPERROR) { if (flags & LOG_CPERROR) {
fputs("\bERROR: ", stderr); fputs("ERROR: ", stderr);
va_start(marker, format); va_start(marker, format);
vfprintf(stderr, format, marker); vfprintf(stderr, format, marker);
va_end(marker); va_end(marker);
@ -133,7 +133,7 @@ _log_info(unsigned int flag, const char * format, ...)
va_end(marker); va_end(marker);
if (logfile!=stderr) { if (logfile!=stderr) {
if (flags & flag) { if (flags & flag) {
fprintf(stderr, "\bINFO[%u]: ", flag); fprintf(stderr, "INFO[%u]: ", flag);
va_start(marker, format); va_start(marker, format);
vfprintf(stderr, format, marker); vfprintf(stderr, format, marker);
va_end(marker); va_end(marker);