GNU bug report logs - #54811
[PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sat, 9 Apr 2022 09:13:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 54811 <at> debbugs.gnu.org
Subject: [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'
Date: Sat, 09 Apr 2022 22:28:15 +0200
Maxime Devos <maximedevos <at> telenet.be> skribis:

> Ludovic Courtès schreef op za 09-04-2022 om 11:13 [+0200]:
>> +  if (getEnv ("LISTEN_PID") == std::to_string (getpid ()))
>
> I thought it was name getenv, and not getEnv, and C strings cannot be
> meaningfully compared with == (pointer equality), or is thi a C++-ism?

Yes, this is the equality operator on std::string.  Also, ‘getEnv’
always returns a string, possibly empty (a flaky but good-enough
interface.)

Ludo’.




This bug report was last modified 3 years and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.