Opened 11 years ago

Closed 11 years ago

#4160 closed bug (invalid)

printf fails with wide-strings

Reported by: Blub Owned by: zooey
Priority: normal Milestone: R1
Component: System/ Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All


when printf is calld with %ls it hits the assertion: src/system/libroot/posix/glibc/wcsmbs/wcsrtombs.c:94:__wcsrtombs:data.__outbuf[-1] == '\0' and fails

steps to reproduce: make a hello world program using printf("%ls\n", L"Hello World");

Change History (4)

comment:1 by zooey, 11 years ago

Owner: changed from axeld to zooey
Status: newassigned

comment:2 by zooey, 11 years ago

I have checked with current gcc2- and gcc4-images and it just works.

So which revision have you been testing with?

comment:3 by Blub, 11 years ago

didn't realize there have been updates to the building toolchain sorry, can be closed

comment:4 by anevilyak, 11 years ago

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.