pkgsrc/sysutils/coreutils/patches/patch-ah
tv c9a384ec9a Make build and run on Interix:
* 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.
2005-03-21 14:44:08 +00:00

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)
{