Print

Print


Actually, the "if" (if that is what you are talking about) is merely
saying if the envar is not set or if it is set but the new value differs
from the old value then it is set. The latter part of the clause (i.e. set
it only if it is a different) is needed to not loose memory as config
files can be reprocessed multiple times. So, I'd say something else is
going on. The amount of memory lost is small but it dirties up valgrind
output if not minimized.

On Mon, 13 Feb 2023, Guilherme Amadio wrote:

> Hi Andy, I can fix this one, leave it for me. It looks as if the code below is not going to override an environment variable if it's already set:
>
> https://github.com/xrootd/xrootd/blob/master/src/XrdOuc/XrdOucStream.cc#L1458-L1460
>
> @IceyMu Can you please confirm that `AWS_ACCESS_KEY_ID` is not set when you launch the server?
>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/1899#issuecomment-1428172343
> You are receiving this because you were assigned.
>
> Message ID: ***@***.***>


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: <xrootd/xrootd/issues/1899/1428828172@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1899#issuecomment-1428828172", "url": "https://github.com/xrootd/xrootd/issues/1899#issuecomment-1428828172", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1