c9a384ec9a
* Add check for sync(2) and setgroups(3), and don't use these if they don't exist on the host. * Interix has a ... Special ... way of doing the "su" thing. * Implement Interix-specific portion of mountlist.c.
13 lines
290 B
Text
13 lines
290 B
Text
$NetBSD: patch-ai,v 1.1 2005/03/21 14:44:08 tv Exp $
|
|
|
|
--- src/sync.c.orig Wed Jan 21 17:27:02 2004
|
|
+++ src/sync.c
|
|
@@ -70,6 +70,8 @@ main (int argc, char **argv)
|
|
if (1 < argc)
|
|
error (0, 0, _("ignoring all arguments"));
|
|
|
|
+#if HAVE_SYNC
|
|
sync ();
|
|
+#endif
|
|
exit (EXIT_SUCCESS);
|
|
}
|