🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5027

Bug#1152421: Update from Chris

#5027
From: Athos Ribeiro
Date: Wed, 18 Nov 2026 20:00
24 lines
2531 bytes
Hi,

> --- a/standalone.c
> +++ b/standalone.c
> @@ -228,7 +228,7 @@ vsf_standalone_main(void)
>        die("accept");
>      }
> -    ++s_children;
> +    __sync_fetch_and_add(&s_children, 1);
> @@ -251,7 +251,7 @@ vsf_standalone_main(void)
>          /* fork() failed, drop the count back out */
>          drop_ip_count(p_raw_addr);
> -        --s_children;
> +        __sync_fetch_and_sub(&s_children, 1);
> @@ -302,7 +302,7 @@ handle_sigchld(void* duff)
>        /* Account for the child dying */
> -      --s_children;
> +      __sync_fetch_and_sub(&s_children, 1);

FWIW, I pinged Chris Evans to confirm the provenance of this patch, and
it was indeed provided by Chris to fix this specific bug.

-- 
Athos Ribeiro
Technical Details
Message-ID: <O0TYZ-cKlm-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O0TYZ-cKlm-3@gated-at.bofh.it> <O0TYZ-cKlm-5@gated-at.bofh.it> <O0TYZ-cKlm-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Athos Ribeiro <athos@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152421: Update from Chris
Date: Wed, 18 Nov 2026 21:00:01 +0100
Message-ID: <O0TYZ-cKlm-1@gated-at.bofh.it>
References: <O0TYZ-cKlm-3@gated-at.bofh.it> <O0TYZ-cKlm-5@gated-at.bofh.it> <O0TYZ-cKlm-3@gated-at.bofh.it>
X-Original-To: 1152421@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 18 19:51:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Athos Ribeiro <athos@debian.org>, 1152421@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: kengyu@debian.org
X-Debian-Pr-Message: followup 1152421
X-Debian-Pr-Package: vsftpd
X-Debian-Pr-Source: vsftpd
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Debian-User: athos
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003431
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 24
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 18 Nov 2026 16:48:36 -0300
X-Original-Message-ID: <av4BFCtZepmPYbwv@castor>
X-Original-References: <098A9096-A9B7-4506-B489-9F3DC7C3A08D@marinesoftware.co.uk> <BE4C67BF-E3F4-4DC6-B1BA-0A081B62D74C@marinesoftware.co.uk> <098A9096-A9B7-4506-B489-9F3DC7C3A08D@marinesoftware.co.uk>