[ECOS] string functions assertions
Jonathan Larmour
jlarmour@redhat.com
Fri Aug 10 10:24:00 GMT 2001
Robin Farine wrote:
>
> Hi,
>
> The string functions defined in "packages/language/c/libc/string/<ver>/src" that
> take a length argument such as memmove(...) fail when called with a length of 0
> if compiled with CYGPKG_INFRA_DEBUG enabled. I suppose that it's legal to do
> that so I added some length tests to those functions (these tests should get
> optimized out when compiling with assertions disabled). The attached patch
> contains the changes.
Yep, fine. And your stdio read patch too. I've checked these in. I'll write
ChangeLog entries for these this time, but you can still write the cvt()
changelog :-).
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list