Projects
Browse Source     Search     Timeline     Wiki

Changeset 23020

Show
Ignore:
Timestamp:
01/23/07 10:56:20 (23 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/4944456> mount_smbfs hangs at login time

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchd.c

    r23009 r23020  
    291291        } 
    292292 
    293         if (stat(ldconf, &sb) == 0) { 
     293        /* 
     294         * We cannot stat() anything in the home directory right now. 
     295         * 
     296         * The per-user launchd can easily be demand launched by the tool doing 
     297         * the mount of the home directory. The result is an ugly deadlock. 
     298         * 
     299         * We hope to someday have a non-blocking stat(), but for now, we have 
     300         * to skip it. 
     301         */ 
     302        if (!h && stat(ldconf, &sb) == 0) { 
    294303                job_dispatch(rlcj, true); 
    295304        }