15 lines
354 B
Text
15 lines
354 B
Text
$NetBSD: patch-ac,v 1.7 2008/08/08 23:48:01 epg Exp $
|
|
|
|
Committed upstream in r1.3; should be in next release.
|
|
|
|
--- sbr/discard.c.orig 2006-03-02 20:24:08.000000000 +0000
|
|
+++ sbr/discard.c
|
|
@@ -51,7 +51,7 @@ discard (FILE *io)
|
|
# endif
|
|
#endif
|
|
|
|
-#ifdef _FSTDIO
|
|
+#if defined(_FSTDIO) || defined(__DragonFly__)
|
|
fpurge (io);
|
|
#else
|
|
# ifdef LINUX_STDIO
|