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.
15 lines
324 B
Text
15 lines
324 B
Text
$NetBSD: patch-ah,v 1.1 2005/03/21 14:44:08 tv Exp $
|
|
|
|
--- src/df.c.orig Tue Jan 27 10:55:38 2004
|
|
+++ src/df.c
|
|
@@ -923,8 +923,10 @@ main (int argc, char **argv)
|
|
_("%scannot read table of mounted filesystems"), warning);
|
|
}
|
|
|
|
+#if HAVE_SYNC
|
|
if (require_sync)
|
|
sync ();
|
|
+#endif
|
|
|
|
if (optind < argc)
|
|
{
|