From 41beb477c5744bc396fa1162ee0c14218ec12213 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 27 May 2019 08:20:32 -0700 Subject: [PATCH] Fix bug in undefer_input() that misplaced the input state. --- fileio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fileio.c b/fileio.c index c042987..bc00d74 100644 --- a/fileio.c +++ b/fileio.c @@ -530,8 +530,10 @@ void undefer_input(__G) * This condition was checked when G.incnt_leftover was set > 0 in * defer_leftover_input(), and it is NOT allowed to touch G.csize * before calling undefer_input() when (G.incnt_leftover > 0) - * (single exception: see read_byte()'s "G.csize <= 0" handling) !! + * (single exception: see readbyte()'s "G.csize <= 0" handling) !! */ + if (G.csize < 0L) + G.csize = 0L; G.incnt = G.incnt_leftover + (int)G.csize; G.inptr = G.inptr_leftover - (int)G.csize; G.incnt_leftover = 0; bs'> aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
AgeCommit message (Expand)Author
2024-12-10gnu: Fix synopsis in various go packages....* gnu/packages/golang-check.scm (go-github-com-go-quicktest-qt): Fix synopsis. * gnu/packages/golang-crypto.scm (go-github-com-refraction-networking-utls): Fix synopsis. (go-gitlab-com-yawning-edwards25519-extra): Fix synopsis. * gnu/packages/golang-web.scm (go-github-com-aws-smithy-go): Fix synopsis. * gnu/packages/golang-xyz.scm (go-msgio): Fix synopsis. * gnu/packages/golang.scm (go-github-com-flopp-go-findfont): Fix synopsis. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipld-cbor): Fix synopsis. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Gabriel Wicki
2024-12-10gnu: packages: Remove x86_64-gnu next to i586-gnu from supported-systems....* gnu/packages/golang.scm (go-1.16)[supported-systems]: Remove "x86_64-gnu". * gnu/packages/linux.scm (proot)[supported-systems]: Likewise. * gnu/packages/valgrind.scm (valgrind)[supported-systems]: Likewise. * gnu/packages/virtualization.scm (qemu)[supported-systems]: Likewise. * gnu/packages/heads.scm (musl-cross)[supported-systems]: Delete target-hurd? instead of remove'ing "i586-gnu". * gnu/packages/linux.scm (net-tools)[supported-systems]: Likewise. (libcap)[supported-systems]: Likewise. (fuse)[supported-systems]: Likewise. (kmod)[supported-systems]: Likewise. (lvm2)[supported-systems]: Likewise. (mdadm)[supported-systems]: Likewise. (proot)[supported-systems]: Likewise. * gnu/packages/lisp.scm (ecl)[supported-systems]: Likewise. (sbcl)[supported-systems]: Likewise. * gnu/packages/virtualization.scm (qemu)[supported-systems]: Likewise. Change-Id: I506e056b7aeb40f004fcc31ee85962cb065eac29 Janneke Nieuwenhuizen