Opened 10 years ago

Closed 10 years ago

#4160 closed bug (invalid)

printf fails with wide-strings

Reported by: Blub Owned by: zooey
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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 Changed 10 years ago by zooey

Owner: changed from axeld to zooey
Status: newassigned

comment:2 Changed 10 years ago by zooey

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

So which revision have you been testing with?

comment:3 Changed 10 years ago by Blub

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

comment:4 Changed 10 years ago by anevilyak

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