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_userfiles.c

    r111 r134  
    267267    /* We build a list in here because the samhain internals want to use
    268268     * getpwent() too */
     269    SH_MUTEX_LOCK(mutex_pwent);
    269270    /*@-unrecog@*/
    270271    sh_setpwent();
     
    292293        }
    293294    }
     295    sh_endpwent();
     296    SH_MUTEX_UNLOCK(mutex_pwent);
    294297
    295298    for (homes = userHomes; homes != NULL; homes = homes->next ) {
Note: See TracChangeset for help on using the changeset viewer.