Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
On Dragonfly sbuf_finish() does not return a int
Baptiste Daroussin committed 12 years ago
commit 35871989be1b94785ba123c00f03ebea17cfa088
parent 1a4d0a0
1 file changed +4 -0
modified pkg/annotate.c
@@ -173,8 +173,12 @@ read_input(void)
		}
		sbuf_putc(input, ch);
	}
+
#ifdef __DragonFly__
+
	sbuf_finish(input);
+
#else
	if (sbuf_finish(input) != 0)
		err(EX_DATAERR, "Could not read value data");
+
#endif

	return (input);
}