Bug#496763: Inadequate declaration of C string functions

2008-12-01 Thread Matthias Klose
reassign 496763 libc6-dev thanks cstring is a wrapper around string.h, the definitions are found there. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#496763: Inadequate declaration of C string functions

2008-08-27 Thread Goswin von Brederlow
Package: g++-4.3 Version: 4.3.1-5 Severity: normal Hi, I recently run into a bug with the following code (simplified to the essentials): #include cstring void foo(const char *path) { char *filename = rindex(path, '/'); *filename = 0; ++filename; } This clearly violates the constness of