Changeset 367 for trunk/src/sh_hash.c


Ignore:
Timestamp:
Oct 30, 2011, 9:18:31 AM (13 years ago)
Author:
katerina
Message:

Modifications for ticket #265 (inotify support). Needs testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_hash.c

    r362 r367  
    434434  char * str;
    435435  char hashbuf[KEYBUF_SIZE];
    436   int  retval;
     436  volatile int  retval;
    437437
    438438  /* --------  find the entry for the file ----------------       */
     
    459459  str = all_items(theFile, fileHash, 0);
    460460  tmp = sh_util_safe_name(fullpath);
     461
     462  SH_MUTEX_LOCK(mutex_thread_nolog);
    461463  sh_error_handle (level, FIL__, __LINE__, 0,
    462464                   MSG_FI_MISS2, tmp, str);
     465  SH_MUTEX_UNLOCK(mutex_thread_nolog);
    463466
    464467  SH_FREE(tmp);
Note: See TracChangeset for help on using the changeset viewer.