Digital <[EMAIL PROTECTED]> wrote: > As a side comment, There is a BUG with strstr.c > If haystack gets truncated or there is no trailing '\0', then strstr > will keep looking past the expected string end into unknown space.
That makes it a dangerous interface, but not a bug. If the caller fails to ensure tht the string is properly terminated, then *it* has a bug. Pretty much every string function in the C standard works this way. paul _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
