From eb94d0d6086f23d30638be86e5e75196d6c85dab Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 20 Oct 1998 18:38:59 +0000 Subject: [PATCH] Fix fake error generation. --- libraries/liblber/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblber/io.c b/libraries/liblber/io.c index cbf1837a91..bbe6c82dd1 100644 --- a/libraries/liblber/io.c +++ b/libraries/liblber/io.c @@ -307,7 +307,7 @@ ber_flush( Sockbuf *sb, BerElement *ber, int freeit ) /* fake error if write was not atomic */ if (rc < towrite) { -#if !defined(MACOS) && !defined(DOS) +#ifdef EMSGSIZE errno = EMSGSIZE; #endif return( -1 ); -- 2.39.5