pkgsrc/news/nntpcache/patches/patch-ad

14 lines
339 B
Text

$NetBSD: patch-ad,v 1.1 2005/03/07 12:04:41 tv Exp $
--- src/nntpcache.c.orig 2002-04-05 13:29:58.000000000 -0500
+++ src/nntpcache.c
@@ -404,7 +404,9 @@ EXPORT void ncExit (int code)
if (Stats)
saveStats (con->statsFile);
unlink (PidFile);
+#ifdef HAVE_SYNC
sync ();
+#endif
} else
{
if (Task->ti_state == nc_client)