From eb05a5de9b195a5fa3d935e39470be203b50332a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 14 Aug 2017 06:02:46 -0700 Subject: bugfix: seek-stream :from-end not working. * stream.h (enum strm_whence): Fix strm_end and strm_start being duplicate values; strm_end must map to SEEK_END. --- stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.h b/stream.h index 27b3ab22..149e9ded 100644 --- a/stream.h +++ b/stream.h @@ -28,7 +28,7 @@ enum strm_whence { strm_start = SEEK_SET, strm_cur = SEEK_CUR, - strm_end = SEEK_SET + strm_end = SEEK_END }; enum indent_mode { -- cgit v1.2.3