Branch: Tag:

2014-04-27

2014-04-27 18:31:29 by Martin Nilsson <nilsson@opera.com>

Free takes void* and doesn't need any cast anymore.

5299: Inside #if defined(_REENTRANT)
   low_mt_lock_interpreter(); /* Can run even if threads_disabled. */    num_threads--;    mt_unlock_interpreter(); -  free((char *)p); +  free(p);    th_exit(0);    return 0;   }
5346: Inside #if defined(_REENTRANT)
   num_threads++;    if(th_create_small(&id,proxy_thread,p))    { -  free((char *)p); +  free(p);    while (fd_close(from) && errno == EINTR) {}    while (fd_close(to) && errno == EINTR) {}    Pike_error("Failed to create thread.\n");