This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
AW: disabling CYGSEM_LIBC_STDIO_DYNAMIC_SETVBUF breaks sprintf()
- From: "Neundorf, Alexander" <Alexander dot Neundorf at jenoptik dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>, <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 18 Apr 2005 09:29:30 +0200
- Subject: AW: [ECOS] disabling CYGSEM_LIBC_STDIO_DYNAMIC_SETVBUF breaks sprintf()
> Von: Andrew Lunn [mailto:andrew@lunn.ch]
...
> > I'd suggest to insert an assert e.g. in stream.cxx:
>
> An assert seems like a good idea, plus a comment saying it will fire
> when sprintf is used with both CYGSEM_LIBC_STDIO_DYNAMIC_SETVBUF and
> CYGSEM_LIBC_STDIO_SETVBUF_MALLO disabled.
>
> Please could you provide me a patch.
>
> Thanks
>
> Andrew
It seems it's already fixed in cvs with the change from Daniel Neri, 2004-12-08.
Bye
Alex
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss