From f457475cfe6e4d2d5b6951ea361e613907bba6c2 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 18 Aug 2023 06:08:19 +0000 Subject: [PATCH] sync with zlib.h "that's fine" jmc --- lib/libz/compress.3 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/libz/compress.3 b/lib/libz/compress.3 index 7650a945e6d..eb25a9dc8b3 100644 --- a/lib/libz/compress.3 +++ b/lib/libz/compress.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compress.3,v 1.24 2023/07/30 16:43:28 tb Exp $ +.\" $OpenBSD: compress.3,v 1.25 2023/08/18 06:08:19 tb Exp $ .\" .\" Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler .\" @@ -23,7 +23,7 @@ .\" .\" This page corresponds to zlib version 1.2.3 .\" -.Dd $Mdocdate: July 30 2023 $ +.Dd $Mdocdate: August 18 2023 $ .Dt COMPRESS 3 .Os .Sh NAME @@ -551,8 +551,10 @@ or a .Dv Z_SYNC_FLUSH , make sure that .Fa avail_out -is greater than six to avoid repeated flush markers due to avail_out == 0 -on return. +is greater than six when the flush marker begins, +in order to avoid repeated flush markers upon calling +.Fn deflate +again when avail_out == 0. .Pp If the parameter .Fa flush -- 2.20.1