Projects
Browse Source     Search     Timeline     Wiki

Changeset 23357

Show
Ignore:
Timestamp:
09/05/07 13:33:15 (15 months ago)
Author:
zarzycki@…
Message:

Some help for debugging reboot hangs.

Files:
1 modified

Legend:

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

    r23356 r23357  
    10381038        if (ourlogfile) { 
    10391039                fflush(ourlogfile); 
     1040 
     1041                if (debug_shutdown_hangs) { 
     1042                        fcntl(fileno(ourlogfile), F_FULLFSYNC, NULL); 
     1043                } 
    10401044        } 
    10411045}