9Fermer11
PpHdLe 22/06/2009 à 20:14
Folco (./7) :
I get always the bug described in topics/120888-pedrom-082-alpha-2 (post 18) after having recompiled.
I get always a strange behavior with make not cleaning source directory... I must run './pedrom/src/make clean' or './pedrom/make' to clean sources.
I use an up-to-date Fedora 11 x86-64 with latest TIGCC.

I still with use your provided binaries ... sad


Patch:
------------------------------- src/c/printf.c --------------------------------
index 6552957..c19f7ce 100644
@@ -249,31 +249,31 @@ vcbprintf (short (*callback)(short,FILE *), FILE *p, const char *fmt, va_list ar
{
case '#':
dr.flags |= FLAG_VARIANT;
- continue;
+ break;
case '0':
- if ((dr.flags | FLAG_LJUSTIFY) == 0)
+ if ((dr.flags & FLAG_LJUSTIFY) == 0)
dr.flags |= FLAG_PADZERO;
- continue;
+ break;
case '-':
dr.flags = FLAG_LJUSTIFY | (dr.flags & ~FLAG_PADZERO);
- continue;
+ break;
case ' ':
dr.flags |= FLAG_BLANKER;
- continue;
+ break;
case '+':
dr.flags |= FLAG_SIGNED;
- continue;
+ break;
case '\'':
/* TODO: SUSv2 specifies one */
- continue;
+ break;
case 'I':
/* TODO: glibc 2.2 specific one */
- continue;
+ break;
case 'z':
case '^':
case '|':
/* TODO: Ti specific ones */
- continue;
+ break;
default:
goto end_read_flags;
}