On Apr 22, 2012, at 4:31 PM, "Dmitry V. Levin" <l...@altlinux.org> wrote:
> On Sun, Apr 22, 2012 at 02:28:29PM -0400, Jeffrey Johnson wrote: > [...] >> 1) strstr(3) has hidden state that WILL break >> with multithreading. And the proper fix isn't >> to just use strstr_r(3). > > Isn't strstr(3) a thread-safe function? And what is strstr_r(3)? > My confusion with strtok. Never mind. I swear strstr had similar issues as strtok at one point in time 73 de Jeff ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org