[23357] trunk/launchd/src/launchd_runtime.c
5 Sep
2007
5 Sep
'07
8:33 p.m.
Revision: 23357 http://trac.macosforge.org/projects/launchd/changeset/23357 Author: zarzycki@apple.com Date: 2007-09-05 13:33:15 -0700 (Wed, 05 Sep 2007) Log Message: ----------- Some help for debugging reboot hangs. Modified Paths: -------------- trunk/launchd/src/launchd_runtime.c Modified: trunk/launchd/src/launchd_runtime.c =================================================================== --- trunk/launchd/src/launchd_runtime.c 2007-09-05 18:20:21 UTC (rev 23356) +++ trunk/launchd/src/launchd_runtime.c 2007-09-05 20:33:15 UTC (rev 23357) @@ -1037,6 +1037,10 @@ { if (ourlogfile) { fflush(ourlogfile); + + if (debug_shutdown_hangs) { + fcntl(fileno(ourlogfile), F_FULLFSYNC, NULL); + } } }
6639
Age (days ago)
6639
Last active (days ago)
0 comments
1 participants
participants (1)
-
source_changes@macosforge.org