Changeset 134 for trunk/src/sh_calls.c


Ignore:
Timestamp:
Oct 26, 2007, 12:20:10 AM (17 years ago)
Author:
rainer
Message:

More thread-safety changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_calls.c

    r132 r134  
    250250  error = errno;
    251251  if (val_retry < 0) {
    252       (void) sl_strlcpy(aud_err_message, sh_error_message(error, errbuf, sizeof(errbuf)), 64);
     252      (void) sh_error_message(error, aud_err_message, 64);
    253253      sh_error_handle ((-1), file, line, error, MSG_ERR_LSTAT,
    254254                       sh_error_message(error, errbuf, sizeof(errbuf)),
     
    273273  error = errno;
    274274  if (val_retry < 0) {
    275       (void) sl_strlcpy(aud_err_message, sh_error_message(error, errbuf, sizeof(errbuf)), 64);
     275      (void) sh_error_message(error, aud_err_message, 64);
    276276      sh_error_handle ((-1), file, line, error, MSG_ERR_STAT,
    277277                       sh_error_message(error, errbuf, sizeof(errbuf)),
     
    363363  if (sec > 0)
    364364    {
    365       sleep (sec);
     365      sleep (sec); /* nanosleep not available */
    366366    }
    367367  else
     
    584584  if (val_return < 0)
    585585    {
    586       (void) sl_strlcpy(aud_err_message, sh_error_message(error, errbuf, sizeof(errbuf)), 64);
     586      (void) sh_error_message(error, aud_err_message, 64);
    587587    }
    588588
     
    618618  if (val_return < 0)
    619619    {
    620       (void) sl_strlcpy(aud_err_message, sh_error_message(error, errbuf, sizeof(errbuf)), 64);
     620      (void) sh_error_message(error, aud_err_message, 64);
    621621    }
    622622
Note: See TracChangeset for help on using the changeset viewer.